Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.618/1.618, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 174.2 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001051, allocations: 84.38 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.729e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2536, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9622/1.216, allocations: 168.4 MB / 1.056 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000408/1.216, allocations: 103.7 kB / 1.056 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2617/1.478, allocations: 95.87 MB / 1.15 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.677e-06/1.478, allocations: 0 / 1.15 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001551/1.478, allocations: 52 kB / 1.15 GB, free: 5.969 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.009587/1.488, allocations: 2.176 MB / 1.152 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 9.212e-05/1.488, allocations: 8.031 kB / 1.152 GB, free: 3.73 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003047/1.491, allocations: 395.5 kB / 1.153 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006759/1.498, allocations: 0.75 MB / 1.153 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005796/1.504, allocations: 1.465 MB / 1.155 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/1.504, allocations: 197.2 kB / 1.155 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/1.506, allocations: 244 kB / 1.155 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/1.519, allocations: 4.148 MB / 1.159 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001271/1.519, allocations: 11.94 kB / 1.159 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008535/1.52, allocations: 108 kB / 1.159 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002692/1.52, allocations: 160.3 kB / 1.16 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008538/1.529, allocations: 3.399 MB / 1.163 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03721/1.566, allocations: 21.52 MB / 1.184 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/1.567, allocations: 0.5239 MB / 1.184 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009102/1.568, allocations: 0.4953 MB / 1.185 GB, free: 72 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-05/1.568, allocations: 7.953 kB / 1.185 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.277e-05/1.568, allocations: 42.5 kB / 1.185 GB, free: 12 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=50): time 5.14e-06/1.568, allocations: 0 / 1.185 GB, free: 12 kB / 0.7917 GB Notification: Performance of matching and sorting (n=56): time 0.008376/1.577, allocations: 3.631 MB / 1.188 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/1.577, allocations: 243.3 kB / 1.189 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/1.579, allocations: 1.187 MB / 1.19 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.752e-05/1.579, allocations: 38.27 kB / 1.19 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009076/1.58, allocations: 1.23 MB / 1.191 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/1.58, allocations: 213.2 kB / 1.191 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/1.58, allocations: 28 kB / 1.191 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002593/1.58, allocations: 410.7 kB / 1.192 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/1.581, allocations: 0.7652 MB / 1.192 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/1.583, allocations: 1.454 MB / 1.194 GB, free: 6.324 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/1.585, allocations: 1.054 MB / 1.195 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/1.585, allocations: 12 kB / 1.195 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003622/1.588, allocations: 2.312 MB / 1.197 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.004439/1.593, allocations: 9.395 MB / 1.206 GB, free: 8.809 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/1.593, allocations: 24 kB / 1.206 GB, free: 8.785 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.183e-05/1.593, allocations: 43.98 kB / 1.206 GB, free: 8.742 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/1.595, allocations: 447.2 kB / 1.207 GB, free: 8.305 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.432e-05/1.595, allocations: 51.78 kB / 1.207 GB, free: 8.254 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/1.597, allocations: 283.2 kB / 1.207 GB, free: 7.977 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/1.597, allocations: 83.98 kB / 1.207 GB, free: 7.895 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.597, allocations: 5.562 kB / 1.207 GB, free: 7.891 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003521/1.601, allocations: 1.975 MB / 1.209 GB, free: 5.914 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.228e-05/1.601, allocations: 24 kB / 1.209 GB, free: 5.891 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.652e-05/1.601, allocations: 40 kB / 1.209 GB, free: 5.852 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/1.602, allocations: 408 kB / 1.21 GB, free: 5.453 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.194e-05/1.602, allocations: 51.86 kB / 1.21 GB, free: 5.402 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/1.604, allocations: 175.5 kB / 1.21 GB, free: 5.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/1.604, allocations: 83.98 kB / 1.21 GB, free: 5.148 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004306/1.604, allocations: 212.2 kB / 1.21 GB, free: 4.934 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004932/1.605, allocations: 102.8 kB / 1.21 GB, free: 4.832 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/1.607, allocations: 0.8748 MB / 1.211 GB, free: 3.953 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/1.607, allocations: 4 kB / 1.211 GB, free: 3.949 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.607, allocations: 4 kB / 1.211 GB, free: 3.945 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/1.607, allocations: 4 kB / 1.211 GB, free: 3.941 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.619, allocations: 8.13 MB / 1.219 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/1.619, allocations: 12 kB / 1.219 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/1.62, allocations: 139.7 kB / 1.219 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.698e-05/1.62, allocations: 19.95 kB / 1.219 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/1.62, allocations: 24 kB / 1.219 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.182e-05/1.62, allocations: 23.92 kB / 1.219 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.756e-05/1.62, allocations: 19.94 kB / 1.219 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/1.623, allocations: 2.439 MB / 1.222 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000642/1.623, allocations: 335.6 kB / 1.222 GB, free: 8.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/1.623, allocations: 35.94 kB / 1.222 GB, free: 8.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009753/1.624, allocations: 107.8 kB / 1.222 GB, free: 8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.624, allocations: 75.66 kB / 1.222 GB, free: 7.926 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/1.625, allocations: 32 kB / 1.222 GB, free: 7.895 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001451/1.626, allocations: 0.9088 MB / 1.223 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.626, allocations: 0 / 1.223 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003345/1.629, allocations: 0.8125 MB / 1.224 GB, free: 6.16 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004242/1.634, allocations: 6.513 MB / 1.23 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004305/1.638, allocations: 2.539 MB / 1.233 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.638, allocations: 0 / 1.233 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006505/1.639, allocations: 450.4 kB / 1.233 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/1.64, allocations: 223.8 kB / 1.233 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/1.652, allocations: 4.103 MB / 1.237 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003224/1.655, allocations: 2.043 MB / 1.239 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002923/1.658, allocations: 0.8636 MB / 1.24 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.66, allocations: 0.716 MB / 1.241 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of SimCode: time 1.193e-06/1.66, allocations: 0 / 1.241 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.673/2.332, allocations: 29 MB / 1.269 GB, free: 252 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/2.333, allocations: 198.4 kB / 1.269 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/5.29, allocations: 0 / 1.269 GB, free: 251.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)