Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001133/0.001133, allocations: 188.7 kB / 487.4 MB, free: 5.047 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.458/1.458, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000983/0.0009831, allocations: 90.14 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.825e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.261, allocations: 142.3 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9313/1.192, allocations: 181.7 MB / 1.384 GB, free: 16.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/1.193, allocations: 93.95 kB / 1.384 GB, free: 16.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4431/1.636, allocations: 192.6 MB / 1.572 GB, free: 6.926 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.923e-06/1.636, allocations: 0 / 1.572 GB, free: 6.926 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002775/1.636, allocations: 127.9 kB / 1.572 GB, free: 6.801 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0128/1.649, allocations: 4.163 MB / 1.576 GB, free: 2.57 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.649, allocations: 12.03 kB / 1.576 GB, free: 2.559 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007042/1.656, allocations: 1.012 MB / 1.577 GB, free: 1.539 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007901/1.664, allocations: 3.206 MB / 1.58 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/1.664, allocations: 156 kB / 1.58 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001911/1.666, allocations: 280 kB / 1.58 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0115/1.678, allocations: 4.717 MB / 1.585 GB, free: 9.125 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/1.695, allocations: 6.696 MB / 1.592 GB, free: 1.965 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001544/1.695, allocations: 27.72 kB / 1.592 GB, free: 1.938 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007105/1.696, allocations: 19.95 kB / 1.592 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003212/1.696, allocations: 261.2 kB / 1.592 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04394/1.74, allocations: 35.22 MB / 1.626 GB, free: 11.23 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/1.744, allocations: 2.039 MB / 1.628 GB, free: 9.18 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002032/1.746, allocations: 1.42 MB / 1.63 GB, free: 7.762 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.736e-05/1.746, allocations: 17.31 kB / 1.63 GB, free: 7.742 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/1.746, allocations: 51.88 kB / 1.63 GB, free: 7.684 MB / 1.042 GB Notification: Performance of pre-optimization done (n=157): time 4.138e-06/1.746, allocations: 0 / 1.63 GB, free: 7.684 MB / 1.042 GB Notification: Performance of matching and sorting (n=160): time 0.009955/1.756, allocations: 4.753 MB / 1.634 GB, free: 2.879 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/1.756, allocations: 68.72 kB / 1.634 GB, free: 2.797 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/1.758, allocations: 1.24 MB / 1.636 GB, free: 1.523 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/1.759, allocations: 29.7 kB / 1.636 GB, free: 1.488 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00152/1.76, allocations: 2.106 MB / 1.638 GB, free: 15.35 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005746/1.761, allocations: 0.5312 MB / 1.638 GB, free: 14.81 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/1.761, allocations: 3.938 kB / 1.638 GB, free: 14.81 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.761, allocations: 394.1 kB / 1.639 GB, free: 14.42 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/1.762, allocations: 0.9568 MB / 1.64 GB, free: 13.46 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/1.764, allocations: 1.659 MB / 1.641 GB, free: 11.46 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/1.766, allocations: 1.232 MB / 1.642 GB, free: 10.23 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/1.766, allocations: 15.78 kB / 1.642 GB, free: 10.22 MB / 1.057 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.006395/1.773, allocations: 3.495 MB / 1.646 GB, free: 6.676 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/1.773, allocations: 16.97 kB / 1.646 GB, free: 6.66 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.073e-05/1.773, allocations: 24 kB / 1.646 GB, free: 6.637 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/1.775, allocations: 0.8843 MB / 1.647 GB, free: 5.715 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.777, allocations: 419.3 kB / 1.647 GB, free: 5.305 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/1.796, allocations: 20.19 MB / 1.667 GB, free: 15.74 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/1.799, allocations: 83.83 kB / 1.667 GB, free: 15.66 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/1.799, allocations: 95.95 kB / 1.667 GB, free: 15.56 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004382/1.799, allocations: 177.3 kB / 1.667 GB, free: 15.38 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005209/1.805, allocations: 2.908 MB / 1.67 GB, free: 12.43 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/1.805, allocations: 233.3 kB / 1.67 GB, free: 12.2 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005467/1.811, allocations: 3.053 MB / 1.673 GB, free: 9.094 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.811, allocations: 16 kB / 1.673 GB, free: 9.078 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/1.811, allocations: 8 kB / 1.673 GB, free: 9.07 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/1.811, allocations: 7.969 kB / 1.673 GB, free: 9.062 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.823, allocations: 6.582 MB / 1.68 GB, free: 2.336 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.823, allocations: 4 kB / 1.68 GB, free: 2.332 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.824, allocations: 215.6 kB / 1.68 GB, free: 2.121 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/1.827, allocations: 0.8619 MB / 1.681 GB, free: 1.219 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.827, allocations: 4 kB / 1.681 GB, free: 1.215 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01905/1.846, allocations: 20.16 MB / 1.7 GB, free: 11.66 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/1.846, allocations: 7.938 kB / 1.7 GB, free: 11.66 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005692/1.852, allocations: 3.501 MB / 1.704 GB, free: 7.887 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.853, allocations: 0.5021 MB / 1.704 GB, free: 7.363 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/1.853, allocations: 19.81 kB / 1.704 GB, free: 7.348 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.854, allocations: 67.84 kB / 1.704 GB, free: 7.281 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003808/1.855, allocations: 133 kB / 1.705 GB, free: 7.152 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.855, allocations: 48 kB / 1.705 GB, free: 7.105 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001399/1.856, allocations: 0.9138 MB / 1.705 GB, free: 6.172 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.3e-07/1.856, allocations: 0 / 1.705 GB, free: 6.172 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.00307/1.859, allocations: 0.8476 MB / 1.706 GB, free: 5.324 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00582/1.865, allocations: 5.217 MB / 1.711 GB, free: 15.91 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.006347/1.872, allocations: 4.077 MB / 1.715 GB, free: 11.72 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.872, allocations: 8.188 kB / 1.715 GB, free: 11.71 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.003961/1.876, allocations: 2.81 MB / 1.718 GB, free: 8.789 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/1.879, allocations: 0.6489 MB / 1.719 GB, free: 8.141 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/1.895, allocations: 7.045 MB / 1.726 GB, free: 0.9766 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003636/1.898, allocations: 3.29 MB / 1.729 GB, free: 13.64 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001791/1.9, allocations: 0.4962 MB / 1.729 GB, free: 13.14 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/1.902, allocations: 1.655 MB / 1.731 GB, free: 11.49 MB / 1.151 GB Notification: Performance of SimCode: time 7.62e-07/1.902, allocations: 0 / 1.731 GB, free: 11.49 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8291/2.731, allocations: 63.15 MB / 1.793 GB, free: 295.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/2.731, allocations: 160.3 kB / 1.793 GB, free: 295.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.782/6.513, allocations: 3.5 kB / 1.793 GB, free: 295.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat