Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.296/2.296, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001299/0.001299, allocations: 173.2 kB / 498.1 MB, free: 5.691 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.457/1.457, allocations: 223.1 MB / 0.7948 GB, free: 17.93 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.001044/0.001044, allocations: 104.2 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004577, allocations: 11.66 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3259, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2445/0.5704, allocations: 206.6 MB / 1.425 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5708, allocations: 107.9 kB / 1.425 GB, free: 3.18 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9876/1.558, allocations: 156.2 MB / 1.577 GB, free: 72.45 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.677e-06/1.558, allocations: 0 / 1.577 GB, free: 72.45 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002308/1.559, allocations: 99.97 kB / 1.577 GB, free: 72.35 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01091/1.57, allocations: 3.502 MB / 1.581 GB, free: 68.78 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/1.57, allocations: 8.031 kB / 1.581 GB, free: 68.77 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002523/1.572, allocations: 0.5458 MB / 1.581 GB, free: 68.21 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006478/1.579, allocations: 0.8342 MB / 1.582 GB, free: 67.38 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007107/1.586, allocations: 2.557 MB / 1.585 GB, free: 64.76 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/1.586, allocations: 271.3 kB / 1.585 GB, free: 64.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/1.588, allocations: 379.9 kB / 1.585 GB, free: 64.12 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009032/1.597, allocations: 5.709 MB / 1.591 GB, free: 58.08 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.244e-05/1.597, allocations: 19.78 kB / 1.591 GB, free: 58.06 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004151/1.597, allocations: 168 kB / 1.591 GB, free: 57.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000197/1.597, allocations: 211 kB / 1.591 GB, free: 57.69 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006834/1.604, allocations: 4.122 MB / 1.595 GB, free: 53.56 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02705/1.631, allocations: 27.67 MB / 1.622 GB, free: 23.38 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/1.633, allocations: 1.093 MB / 1.623 GB, free: 22.28 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-05/1.633, allocations: 24.94 kB / 1.623 GB, free: 22.26 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/1.633, allocations: 39.56 kB / 1.623 GB, free: 22.21 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 2.645e-06/1.633, allocations: 0 / 1.623 GB, free: 22.21 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131): time 0.02071/1.654, allocations: 9.533 MB / 1.633 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/1.654, allocations: 64.72 kB / 1.633 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/1.655, allocations: 1.278 MB / 1.634 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.597e-05/1.655, allocations: 45.7 kB / 1.634 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006883/1.656, allocations: 1.667 MB / 1.636 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/1.656, allocations: 481.2 kB / 1.636 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/1.656, allocations: 32 kB / 1.636 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/1.656, allocations: 377.9 kB / 1.637 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/1.657, allocations: 0.8744 MB / 1.637 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/1.659, allocations: 1.464 MB / 1.639 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/1.66, allocations: 1.119 MB / 1.64 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.66, allocations: 8 kB / 1.64 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004911/1.665, allocations: 3.219 MB / 1.643 GB, free: 1.496 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/1.665, allocations: 12 kB / 1.643 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.665, allocations: 20.91 kB / 1.643 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/1.667, allocations: 0.7217 MB / 1.644 GB, free: 0.7148 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/1.669, allocations: 395.4 kB / 1.644 GB, free: 336 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/1.684, allocations: 15.86 MB / 1.66 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/1.686, allocations: 103.9 kB / 1.66 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/1.686, allocations: 79.94 kB / 1.66 GB, free: 15.09 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002876/1.689, allocations: 1.32 MB / 1.661 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000417/1.689, allocations: 205.5 kB / 1.661 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005024/1.694, allocations: 2.738 MB / 1.664 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/1.694, allocations: 12.28 kB / 1.664 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.694, allocations: 4 kB / 1.664 GB, free: 10.76 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.694, allocations: 11.97 kB / 1.664 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/1.705, allocations: 6.08 MB / 1.67 GB, free: 4.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.705, allocations: 4 kB / 1.67 GB, free: 4.496 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/1.707, allocations: 243.5 kB / 1.67 GB, free: 4.258 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/1.709, allocations: 0.6442 MB / 1.671 GB, free: 3.586 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/1.709, allocations: 32.23 kB / 1.671 GB, free: 3.555 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/1.723, allocations: 15.59 MB / 1.686 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.723, allocations: 7.938 kB / 1.686 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006808/1.73, allocations: 4.268 MB / 1.69 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/1.731, allocations: 446.6 kB / 1.691 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/1.732, allocations: 35.98 kB / 1.691 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009234/1.733, allocations: 79.89 kB / 1.691 GB, free: 13.69 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003623/1.733, allocations: 120.7 kB / 1.691 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-05/1.733, allocations: 36 kB / 1.691 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001433/1.734, allocations: 0.9708 MB / 1.692 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.31e-07/1.734, allocations: 0 / 1.692 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00261/1.737, allocations: 0.7031 MB / 1.693 GB, free: 11.88 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006726/1.744, allocations: 6.225 MB / 1.699 GB, free: 5.445 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005259/1.749, allocations: 3.438 MB / 1.702 GB, free: 1.895 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.749, allocations: 0 / 1.702 GB, free: 1.895 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003073/1.752, allocations: 2.26 MB / 1.704 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/1.755, allocations: 0.5834 MB / 1.705 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03572/1.791, allocations: 30.54 MB / 1.735 GB, free: 15.17 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003102/1.794, allocations: 2.722 MB / 1.737 GB, free: 12.41 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001739/1.796, allocations: 485 kB / 1.738 GB, free: 11.93 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/1.797, allocations: 1.276 MB / 1.739 GB, free: 10.66 MB / 1.026 GB Notification: Performance of SimCode: time 8.41e-07/1.797, allocations: 0 / 1.739 GB, free: 10.66 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09498/1.892, allocations: 53.76 MB / 1.792 GB, free: 5.582 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/1.893, allocations: 222.3 kB / 1.792 GB, free: 5.34 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.379/5.271, allocations: 3.938 kB / 1.792 GB, free: 5.336 MB / 1.073 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat