Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.573/2.573, allocations: 390.5 MB / 398 MB, free: 10.93 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.001135/0.001135, allocations: 172.9 kB / 491.2 MB, free: 1.562 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.666/1.666, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009941/0.0009942, allocations: 97.27 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.315e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2739, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.3, allocations: 197.8 MB / 1.406 GB, free: 2.609 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/1.3, allocations: 99 kB / 1.406 GB, free: 2.555 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.766/3.067, allocations: 383.2 MB / 1.78 GB, free: 232.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/3.067, allocations: 1.469 kB / 1.78 GB, free: 232.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007263/3.067, allocations: 173.6 kB / 1.78 GB, free: 232.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02714/3.095, allocations: 5.541 MB / 1.786 GB, free: 230.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/3.095, allocations: 9.25 kB / 1.786 GB, free: 230.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01722/3.112, allocations: 1.768 MB / 1.787 GB, free: 229.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02063/3.132, allocations: 5.051 MB / 1.792 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006675/3.133, allocations: 194.2 kB / 1.792 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004333/3.138, allocations: 359.7 kB / 1.793 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01995/3.158, allocations: 6.833 MB / 1.799 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0321/3.19, allocations: 8.973 MB / 1.808 GB, free: 227.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005463/3.19, allocations: 39.39 kB / 1.808 GB, free: 227.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003766/3.194, allocations: 17.16 kB / 1.808 GB, free: 227.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006042/3.195, allocations: 380.2 kB / 1.809 GB, free: 227.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07616/3.271, allocations: 45.1 MB / 1.853 GB, free: 201.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007975/3.279, allocations: 4.046 MB / 1.857 GB, free: 201 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008168/3.287, allocations: 3.457 MB / 1.86 GB, free: 201 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008338/3.288, allocations: 36.75 kB / 1.86 GB, free: 201 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/3.288, allocations: 69.67 kB / 1.86 GB, free: 200.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=353): time 9.689e-06/3.288, allocations: 0 / 1.86 GB, free: 200.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=578): time 0.1107/3.399, allocations: 37.28 MB / 1.896 GB, free: 196.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/3.399, allocations: 110.3 kB / 1.897 GB, free: 196.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/3.403, allocations: 1.828 MB / 1.898 GB, free: 195.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001514/3.405, allocations: 25.7 kB / 1.898 GB, free: 195.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00176/3.407, allocations: 2.709 MB / 1.901 GB, free: 193.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.003407/3.41, allocations: 1.872 MB / 1.903 GB, free: 192.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004865/3.411, allocations: 0 / 1.903 GB, free: 192.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004637/3.411, allocations: 0.5334 MB / 1.903 GB, free: 192 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005601/3.417, allocations: 3.616 MB / 1.907 GB, free: 190.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006485/3.423, allocations: 4.697 MB / 1.911 GB, free: 187.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006515/3.43, allocations: 4.412 MB / 1.916 GB, free: 185.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.613e-05/3.43, allocations: 11.34 kB / 1.916 GB, free: 185.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03101/3.461, allocations: 15.16 MB / 1.931 GB, free: 180.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/3.461, allocations: 23.98 kB / 1.931 GB, free: 180.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-05/3.461, allocations: 30.06 kB / 1.931 GB, free: 180.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02277/3.484, allocations: 7.305 MB / 1.938 GB, free: 178.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/3.487, allocations: 0.5591 MB / 1.938 GB, free: 178.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08097/3.568, allocations: 65.15 MB / 2.002 GB, free: 140.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005993/3.574, allocations: 134.8 kB / 2.002 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/3.575, allocations: 200.1 kB / 2.002 GB, free: 139.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001135/3.576, allocations: 195.9 kB / 2.002 GB, free: 139.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02941/3.606, allocations: 14.37 MB / 2.016 GB, free: 128.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00242/3.608, allocations: 450.7 kB / 2.017 GB, free: 127.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04091/3.649, allocations: 15.15 MB / 2.032 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001454/3.649, allocations: 60 kB / 2.032 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003534/3.65, allocations: 75.19 kB / 2.032 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000239/3.65, allocations: 29.02 kB / 2.032 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07457/3.724, allocations: 22.29 MB / 2.054 GB, free: 97.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.207e-05/3.725, allocations: 4 kB / 2.054 GB, free: 97.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/3.727, allocations: 329.1 kB / 2.054 GB, free: 97.31 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02125/3.748, allocations: 6.726 MB / 2.061 GB, free: 92.03 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001383/3.749, allocations: 16 kB / 2.061 GB, free: 92.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.075/3.824, allocations: 62.24 MB / 2.121 GB, free: 35.82 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/3.824, allocations: 15.94 kB / 2.121 GB, free: 35.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03779/3.862, allocations: 20.16 MB / 2.141 GB, free: 18.08 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004168/3.867, allocations: 1.234 MB / 2.142 GB, free: 16.95 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001697/3.868, allocations: 15.61 kB / 2.142 GB, free: 16.94 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003985/3.872, allocations: 147.3 kB / 2.142 GB, free: 16.86 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002236/3.874, allocations: 0.5136 MB / 2.143 GB, free: 16.53 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003924/3.875, allocations: 140 kB / 2.143 GB, free: 16.39 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002339/3.877, allocations: 1.335 MB / 2.144 GB, free: 15.21 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.71e-07/3.877, allocations: 0 / 2.144 GB, free: 15.21 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01067/3.888, allocations: 2.043 MB / 2.146 GB, free: 13.17 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03937/3.927, allocations: 22.51 MB / 2.168 GB, free: 9.18 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02959/3.957, allocations: 13.05 MB / 2.181 GB, free: 13.43 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/3.957, allocations: 4.312 kB / 2.181 GB, free: 13.42 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.01908/3.976, allocations: 8.502 MB / 2.189 GB, free: 5.77 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0071/3.983, allocations: 0.9772 MB / 2.19 GB, free: 5.035 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8022/4.786, allocations: 14.4 MB / 2.204 GB, free: 234.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01206/4.798, allocations: 5.017 MB / 2.209 GB, free: 234 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004137/4.802, allocations: 0.7272 MB / 2.21 GB, free: 234 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004842/4.807, allocations: 2.579 MB / 2.213 GB, free: 234 MB / 1.182 GB Notification: Performance of SimCode: time 1.613e-06/4.807, allocations: 0 / 2.213 GB, free: 234 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3035/5.11, allocations: 170.1 MB / 2.379 GB, free: 221 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/5.11, allocations: 175.9 kB / 2.379 GB, free: 220.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/12.16, allocations: 4 kB / 2.379 GB, free: 220.8 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat does not exist to compare? outputFormat=mat