Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_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.281/2.281, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.00105/0.00105, allocations: 180.9 kB / 492.3 MB, free: 0.5977 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.735/1.735, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.000892/0.0008921, allocations: 90.42 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.682e-05, allocations: 8 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3297, allocations: 142.3 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.424, allocations: 199.4 MB / 1.407 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.425, allocations: 101.6 kB / 1.407 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1161/1.541, allocations: 43.88 MB / 1.45 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.863e-06/1.541, allocations: 0 / 1.45 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.13e-05/1.541, allocations: 23.98 kB / 1.45 GB, free: 11.72 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001534/1.543, allocations: 0.8137 MB / 1.451 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.543, allocations: 12.03 kB / 1.451 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/1.543, allocations: 97.5 kB / 1.451 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/1.544, allocations: 198.8 kB / 1.451 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/1.545, allocations: 0.4928 MB / 1.452 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/1.545, allocations: 46.17 kB / 1.452 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/1.545, allocations: 53.05 kB / 1.452 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/1.547, allocations: 0.8522 MB / 1.453 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/1.547, allocations: 7.938 kB / 1.453 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/1.547, allocations: 26.67 kB / 1.453 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/1.547, allocations: 44.42 kB / 1.453 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008581/1.548, allocations: 0.5554 MB / 1.453 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004856/1.553, allocations: 4.603 MB / 1.458 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/1.553, allocations: 284.9 kB / 1.458 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/1.553, allocations: 224.8 kB / 1.458 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/1.553, allocations: 8 kB / 1.458 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/1.553, allocations: 34.38 kB / 1.458 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/1.553, allocations: 3.938 kB / 1.458 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.004769/1.558, allocations: 2.205 MB / 1.461 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.558, allocations: 55.41 kB / 1.461 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/1.559, allocations: 398.7 kB / 1.461 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/1.559, allocations: 29.08 kB / 1.461 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/1.559, allocations: 335.2 kB / 1.461 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/1.559, allocations: 146.1 kB / 1.461 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/1.559, allocations: 6.812 kB / 1.461 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001717/1.559, allocations: 371.8 kB / 1.462 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/1.56, allocations: 225.1 kB / 1.462 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/1.56, allocations: 382.8 kB / 1.462 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/1.561, allocations: 285.7 kB / 1.463 GB, free: 332 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.561, allocations: 4 kB / 1.463 GB, free: 328 kB / 0.8698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001598/1.562, allocations: 0.8834 MB / 1.464 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/1.562, allocations: 8 kB / 1.464 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.562, allocations: 4 kB / 1.464 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007514/1.563, allocations: 223.8 kB / 1.464 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/1.564, allocations: 118.2 kB / 1.464 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005104/1.569, allocations: 4.924 MB / 1.469 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/1.569, allocations: 30.28 kB / 1.469 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/1.569, allocations: 23.75 kB / 1.469 GB, free: 10.45 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000163/1.569, allocations: 140.9 kB / 1.469 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/1.569, allocations: 55.34 kB / 1.469 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/1.571, allocations: 0.7621 MB / 1.47 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.571, allocations: 7.938 kB / 1.47 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.571, allocations: 4 kB / 1.47 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/1.571, allocations: 3.984 kB / 1.47 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/1.574, allocations: 1.474 MB / 1.471 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/1.574, allocations: 0 / 1.471 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/1.574, allocations: 67.5 kB / 1.471 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006726/1.575, allocations: 207.6 kB / 1.471 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/1.575, allocations: 7.562 kB / 1.471 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004834/1.579, allocations: 4.863 MB / 1.476 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.58, allocations: 12.03 kB / 1.476 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/1.581, allocations: 1.186 MB / 1.477 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/1.582, allocations: 171.5 kB / 1.477 GB, free: 2.281 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/1.582, allocations: 7.75 kB / 1.477 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/1.582, allocations: 27.34 kB / 1.477 GB, free: 2.258 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/1.582, allocations: 43.28 kB / 1.478 GB, free: 2.219 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/1.582, allocations: 15.69 kB / 1.478 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003955/1.583, allocations: 304.9 kB / 1.478 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.71e-07/1.583, allocations: 0 / 1.478 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008026/1.583, allocations: 183.2 kB / 1.478 GB, free: 1.812 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002487/1.586, allocations: 2.257 MB / 1.48 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00163/1.588, allocations: 0.9763 MB / 1.481 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.588, allocations: 3.984 kB / 1.481 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009658/1.589, allocations: 0.6715 MB / 1.482 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000759/1.589, allocations: 166.7 kB / 1.482 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/1.592, allocations: 1.116 MB / 1.483 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/1.592, allocations: 0.9626 MB / 1.484 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003818/1.593, allocations: 112.9 kB / 1.484 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/1.593, allocations: 209.8 kB / 1.484 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of SimCode: time 9.92e-07/1.593, allocations: 0 / 1.484 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/1.623, allocations: 13.26 MB / 1.497 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/1.624, allocations: 196.9 kB / 1.497 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.954, allocations: 1.969 kB / 1.497 GB, free: 14.87 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat