Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.301/2.301, allocations: 390.5 MB / 398 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 179.7 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.701/1.701, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 95.81 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.086e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3023, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.446, allocations: 186.4 MB / 1.394 GB, free: 13.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.447, allocations: 97.28 kB / 1.395 GB, free: 13.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.256/1.703, allocations: 102.2 MB / 1.494 GB, free: 6.551 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.855e-06/1.703, allocations: 0 / 1.494 GB, free: 6.551 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002177/1.703, allocations: 63.92 kB / 1.494 GB, free: 6.488 MB / 0.9011 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.00872/1.712, allocations: 2.168 MB / 1.496 GB, free: 4.266 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/1.712, allocations: 8.031 kB / 1.496 GB, free: 4.258 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005965/1.718, allocations: 0.7462 MB / 1.497 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005372/1.723, allocations: 1.465 MB / 1.499 GB, free: 2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/1.723, allocations: 80 kB / 1.499 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/1.725, allocations: 148 kB / 1.499 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009422/1.735, allocations: 2.955 MB / 1.502 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/1.749, allocations: 3.782 MB / 1.505 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/1.749, allocations: 7.938 kB / 1.505 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/1.75, allocations: 4 kB / 1.505 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000307/1.75, allocations: 164.2 kB / 1.506 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03157/1.782, allocations: 20.7 MB / 1.526 GB, free: 4.078 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008146/1.783, allocations: 0.5083 MB / 1.526 GB, free: 3.496 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007421/1.784, allocations: 492.4 kB / 1.527 GB, free: 2.992 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.435e-05/1.784, allocations: 8 kB / 1.527 GB, free: 2.984 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/1.784, allocations: 46.45 kB / 1.527 GB, free: 2.93 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=50): time 3.727e-06/1.784, allocations: 0 / 1.527 GB, free: 2.93 MB / 0.9323 GB Notification: Performance of matching and sorting (n=56): time 0.008345/1.792, allocations: 3.572 MB / 1.53 GB, free: 15.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/1.792, allocations: 243.3 kB / 1.531 GB, free: 15.01 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/1.794, allocations: 1.111 MB / 1.532 GB, free: 13.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.783e-05/1.795, allocations: 25.7 kB / 1.532 GB, free: 13.85 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/1.796, allocations: 1.226 MB / 1.533 GB, free: 12.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/1.796, allocations: 209.1 kB / 1.533 GB, free: 12.39 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.796, allocations: 288 / 1.533 GB, free: 12.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002935/1.796, allocations: 406.7 kB / 1.533 GB, free: 11.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.798, allocations: 0.734 MB / 1.534 GB, free: 11.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/1.799, allocations: 1.424 MB / 1.536 GB, free: 9.496 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/1.802, allocations: 1.104 MB / 1.537 GB, free: 8.395 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.8e-05/1.802, allocations: 8 kB / 1.537 GB, free: 8.387 MB / 0.948 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004498/1.806, allocations: 2.219 MB / 1.539 GB, free: 6.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005658/1.812, allocations: 9.392 MB / 1.548 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.095e-05/1.812, allocations: 24 kB / 1.548 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.028e-05/1.812, allocations: 36 kB / 1.548 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/1.814, allocations: 447.2 kB / 1.548 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.677e-05/1.814, allocations: 59.75 kB / 1.549 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/1.816, allocations: 247.3 kB / 1.549 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/1.816, allocations: 87.97 kB / 1.549 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.816, allocations: 7.938 kB / 1.549 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003576/1.82, allocations: 1.855 MB / 1.551 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-05/1.82, allocations: 24.94 kB / 1.551 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.241e-05/1.82, allocations: 36 kB / 1.551 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/1.822, allocations: 407.3 kB / 1.551 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.645e-05/1.822, allocations: 51.78 kB / 1.551 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.823, allocations: 151.4 kB / 1.551 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/1.823, allocations: 83.98 kB / 1.551 GB, free: 8.547 MB / 0.9636 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.0004702/1.824, allocations: 169.1 kB / 1.552 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002036/1.826, allocations: 0.9432 MB / 1.552 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005211/1.826, allocations: 98.83 kB / 1.553 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/1.828, allocations: 0.834 MB / 1.553 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/1.828, allocations: 8 kB / 1.553 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.828, allocations: 4 kB / 1.553 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/1.828, allocations: 3.984 kB / 1.553 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/1.841, allocations: 7.373 MB / 1.561 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.535e-05/1.841, allocations: 15.94 kB / 1.561 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/1.842, allocations: 139.7 kB / 1.561 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.342e-05/1.842, allocations: 20 kB / 1.561 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/1.842, allocations: 12 kB / 1.561 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-05/1.842, allocations: 23.92 kB / 1.561 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.725e-05/1.842, allocations: 19.88 kB / 1.561 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/1.845, allocations: 2.389 MB / 1.563 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008544/1.846, allocations: 335.6 kB / 1.563 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000384/1.846, allocations: 23.92 kB / 1.563 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/1.847, allocations: 103.8 kB / 1.564 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/1.847, allocations: 79.69 kB / 1.564 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/1.847, allocations: 28 kB / 1.564 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001511/1.849, allocations: 0.8368 MB / 1.565 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.6e-07/1.849, allocations: 0 / 1.565 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004421/1.853, allocations: 0.7461 MB / 1.565 GB, free: 9.668 MB / 0.9792 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.00473/1.858, allocations: 6.462 MB / 1.572 GB, free: 2.844 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004176/1.862, allocations: 2.387 MB / 1.574 GB, free: 476 kB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.862, allocations: 2.625 kB / 1.574 GB, free: 476 kB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006202/1.863, allocations: 426.2 kB / 1.574 GB, free: 52 kB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/1.865, allocations: 213.3 kB / 1.574 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/1.876, allocations: 4.03 MB / 1.578 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003147/1.88, allocations: 2.035 MB / 1.58 GB, free: 9.531 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00285/1.882, allocations: 0.852 MB / 1.581 GB, free: 8.676 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.884, allocations: 0.7101 MB / 1.582 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of SimCode: time 1.583e-06/1.884, allocations: 0 / 1.582 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07194/1.956, allocations: 27.79 MB / 1.609 GB, free: 12.31 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/1.956, allocations: 182.5 kB / 1.609 GB, free: 12.11 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.014/4.97, allocations: 0 / 1.609 GB, free: 12.11 MB / 1.026 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat