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.156/2.156, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001006/0.001006, allocations: 179.2 kB / 492.3 MB, free: 0.6211 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.463/1.463, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0008319/0.0008319, allocations: 95.88 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.696e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.256, allocations: 142.3 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9593/1.215, allocations: 206.5 MB / 1.414 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/1.216, allocations: 98.62 kB / 1.414 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.4085/1.624, allocations: 155.6 MB / 1.566 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.134e-06/1.624, allocations: 0 / 1.566 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003845/1.625, allocations: 91.98 kB / 1.566 GB, free: 11.55 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01174/1.636, allocations: 3.221 MB / 1.569 GB, free: 8.266 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/1.636, allocations: 8.031 kB / 1.569 GB, free: 8.258 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002534/1.639, allocations: 0.538 MB / 1.57 GB, free: 7.711 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006395/1.645, allocations: 0.8303 MB / 1.571 GB, free: 6.875 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007982/1.653, allocations: 2.545 MB / 1.573 GB, free: 4.273 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003281/1.654, allocations: 275.3 kB / 1.574 GB, free: 4.004 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/1.656, allocations: 379.9 kB / 1.574 GB, free: 3.633 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/1.673, allocations: 5.644 MB / 1.579 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002398/1.673, allocations: 23.78 kB / 1.579 GB, free: 13.63 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/1.674, allocations: 164 kB / 1.58 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003175/1.675, allocations: 215 kB / 1.58 GB, free: 13.26 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/1.685, allocations: 4.045 MB / 1.584 GB, free: 9.211 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03818/1.723, allocations: 27.67 MB / 1.611 GB, free: 11.04 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/1.725, allocations: 1.092 MB / 1.612 GB, free: 9.934 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/1.727, allocations: 0.9837 MB / 1.613 GB, free: 8.949 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/1.727, allocations: 17 kB / 1.613 GB, free: 8.934 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/1.727, allocations: 43.56 kB / 1.613 GB, free: 8.883 MB / 1.026 GB Notification: Performance of pre-optimization done (n=110): time 3.958e-06/1.727, allocations: 0 / 1.613 GB, free: 8.883 MB / 1.026 GB Notification: Performance of matching and sorting (n=131): time 0.02048/1.748, allocations: 7.976 MB / 1.621 GB, free: 0.7969 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/1.748, allocations: 68.72 kB / 1.621 GB, free: 0.7148 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/1.751, allocations: 1.259 MB / 1.622 GB, free: 15.46 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/1.751, allocations: 45.7 kB / 1.622 GB, free: 15.41 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/1.752, allocations: 1.674 MB / 1.624 GB, free: 13.71 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/1.752, allocations: 469.4 kB / 1.624 GB, free: 13.25 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/1.753, allocations: 36 kB / 1.624 GB, free: 13.21 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.753, allocations: 369.9 kB / 1.624 GB, free: 12.84 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/1.754, allocations: 0.859 MB / 1.625 GB, free: 11.98 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/1.756, allocations: 1.448 MB / 1.627 GB, free: 10.27 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/1.758, allocations: 1.117 MB / 1.628 GB, free: 9.152 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/1.758, allocations: 4 kB / 1.628 GB, free: 9.148 MB / 1.042 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006652/1.764, allocations: 3.188 MB / 1.631 GB, free: 5.922 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/1.764, allocations: 16.19 kB / 1.631 GB, free: 5.906 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/1.764, allocations: 20 kB / 1.631 GB, free: 5.887 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002214/1.767, allocations: 0.7139 MB / 1.632 GB, free: 5.145 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.768, allocations: 395.4 kB / 1.632 GB, free: 4.758 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/1.783, allocations: 15.57 MB / 1.647 GB, free: 3.992 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/1.785, allocations: 103.9 kB / 1.647 GB, free: 3.891 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/1.785, allocations: 80 kB / 1.647 GB, free: 3.812 MB / 1.057 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 () * 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.0004889/1.786, allocations: 219.7 kB / 1.648 GB, free: 3.594 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006199/1.786, allocations: 205.5 kB / 1.648 GB, free: 3.391 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005392/1.792, allocations: 2.71 MB / 1.65 GB, free: 0.6406 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.792, allocations: 12 kB / 1.65 GB, free: 0.6289 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/1.792, allocations: 8 kB / 1.65 GB, free: 0.6211 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/1.792, allocations: 7.969 kB / 1.65 GB, free: 0.6133 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/1.805, allocations: 6.06 MB / 1.656 GB, free: 10.39 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.805, allocations: 8 kB / 1.656 GB, free: 10.38 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.806, allocations: 239.6 kB / 1.657 GB, free: 10.14 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001879/1.808, allocations: 0.6483 MB / 1.657 GB, free: 9.469 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/1.808, allocations: 28 kB / 1.657 GB, free: 9.441 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/1.823, allocations: 15.3 MB / 1.672 GB, free: 8.938 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/1.823, allocations: 11.98 kB / 1.672 GB, free: 8.926 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007364/1.83, allocations: 4.229 MB / 1.676 GB, free: 4.469 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.832, allocations: 454.5 kB / 1.677 GB, free: 4.004 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006894/1.832, allocations: 32 kB / 1.677 GB, free: 3.973 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.834, allocations: 79.89 kB / 1.677 GB, free: 3.895 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/1.834, allocations: 112.8 kB / 1.677 GB, free: 3.785 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.681e-05/1.834, allocations: 43.98 kB / 1.677 GB, free: 3.742 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001982/1.836, allocations: 0.9515 MB / 1.678 GB, free: 2.801 MB / 1.089 GB Notification: Performance of sort global known variables: time 2.51e-07/1.836, allocations: 0 / 1.678 GB, free: 2.801 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.002984/1.839, allocations: 0.7031 MB / 1.679 GB, free: 2.098 MB / 1.089 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 () * 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.007216/1.847, allocations: 6.176 MB / 1.685 GB, free: 11.71 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.005263/1.852, allocations: 3.386 MB / 1.688 GB, free: 8.215 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.852, allocations: 4.125 kB / 1.688 GB, free: 8.211 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.003011/1.855, allocations: 2.22 MB / 1.69 GB, free: 5.875 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/1.858, allocations: 0.5782 MB / 1.691 GB, free: 5.301 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/1.875, allocations: 6.207 MB / 1.697 GB, free: 14.97 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004238/1.88, allocations: 2.73 MB / 1.699 GB, free: 12.21 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.001922/1.882, allocations: 473 kB / 1.7 GB, free: 11.74 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/1.883, allocations: 1.284 MB / 1.701 GB, free: 10.46 MB / 1.12 GB Notification: Performance of SimCode: time 1.963e-06/1.883, allocations: 0 / 1.701 GB, free: 10.46 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.811/2.694, allocations: 54.04 MB / 1.754 GB, free: 312 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/2.695, allocations: 193.2 kB / 1.754 GB, free: 311.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.339/6.034, allocations: 1.5 kB / 1.754 GB, free: 311.8 MB / 1.151 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