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.242/2.242, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001101/0.001101, allocations: 173.1 kB / 498.1 MB, free: 5.734 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.451/1.451, allocations: 223.2 MB / 0.7948 GB, free: 17.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.000942/0.0009419, allocations: 102.7 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 8.219 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2962, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.5246, allocations: 199.5 MB / 1.418 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/0.525, allocations: 99.94 kB / 1.418 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.7034/1.228, allocations: 44.14 MB / 1.461 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.354e-06/1.228, allocations: 0 / 1.461 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.948e-05/1.229, allocations: 15.34 kB / 1.461 GB, free: 189.3 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001538/1.23, allocations: 0.8941 MB / 1.462 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.23, allocations: 6.812 kB / 1.462 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/1.23, allocations: 102.7 kB / 1.462 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/1.232, allocations: 201.1 kB / 1.462 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009104/1.233, allocations: 497.2 kB / 1.463 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/1.233, allocations: 51.44 kB / 1.463 GB, free: 188 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/1.233, allocations: 54.84 kB / 1.463 GB, free: 188 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.234, allocations: 0.8537 MB / 1.464 GB, free: 187.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/1.234, allocations: 3.938 kB / 1.464 GB, free: 187.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/1.234, allocations: 31.28 kB / 1.464 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/1.234, allocations: 47.02 kB / 1.464 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007222/1.235, allocations: 0.574 MB / 1.464 GB, free: 187 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/1.238, allocations: 4.596 MB / 1.469 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/1.239, allocations: 297.1 kB / 1.469 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/1.239, allocations: 3.938 kB / 1.469 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/1.239, allocations: 38.55 kB / 1.469 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 3.015e-06/1.239, allocations: 0 / 1.469 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40): time 0.004932/1.244, allocations: 2.637 MB / 1.472 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/1.244, allocations: 55.41 kB / 1.472 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/1.244, allocations: 401.2 kB / 1.472 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/1.244, allocations: 41.64 kB / 1.472 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.244, allocations: 335.7 kB / 1.472 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.951e-05/1.244, allocations: 145.8 kB / 1.473 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/1.244, allocations: 12 kB / 1.473 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/1.244, allocations: 362.8 kB / 1.473 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/1.245, allocations: 236.9 kB / 1.473 GB, free: 179 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/1.245, allocations: 380.4 kB / 1.473 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/1.245, allocations: 289.7 kB / 1.474 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.245, allocations: 0 / 1.474 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001349/1.247, allocations: 0.9017 MB / 1.475 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.247, allocations: 4 kB / 1.475 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.247, allocations: 8 kB / 1.475 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000738/1.248, allocations: 230.8 kB / 1.475 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/1.248, allocations: 107.9 kB / 1.475 GB, free: 177 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/1.252, allocations: 5.017 MB / 1.48 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/1.252, allocations: 27.97 kB / 1.48 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/1.252, allocations: 23.95 kB / 1.48 GB, free: 171.5 MB / 0.9167 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 () * Number of clocked 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.0003762/1.253, allocations: 230 kB / 1.48 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/1.253, allocations: 59.34 kB / 1.48 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/1.254, allocations: 0.7621 MB / 1.481 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.254, allocations: 8 kB / 1.481 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.254, allocations: 0 / 1.481 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.254, allocations: 4 kB / 1.481 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/1.256, allocations: 1.479 MB / 1.482 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.256, allocations: 4 kB / 1.482 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/1.256, allocations: 68.11 kB / 1.482 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006425/1.257, allocations: 206.4 kB / 1.483 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/1.257, allocations: 8 kB / 1.483 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003432/1.261, allocations: 4.947 MB / 1.488 GB, free: 163.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.261, allocations: 4 kB / 1.488 GB, free: 163.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/1.262, allocations: 1.217 MB / 1.489 GB, free: 161.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/1.262, allocations: 180.4 kB / 1.489 GB, free: 161.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/1.262, allocations: 8 kB / 1.489 GB, free: 161.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/1.263, allocations: 27.97 kB / 1.489 GB, free: 161.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/1.263, allocations: 39.84 kB / 1.489 GB, free: 161.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/1.263, allocations: 12 kB / 1.489 GB, free: 161.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003097/1.263, allocations: 314.9 kB / 1.489 GB, free: 161.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.263, allocations: 0 / 1.489 GB, free: 161.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007006/1.264, allocations: 176 kB / 1.489 GB, free: 161.2 MB / 0.9167 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 () * Number of clocked 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.001724/1.266, allocations: 2.256 MB / 1.492 GB, free: 158.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001325/1.267, allocations: 0.9962 MB / 1.493 GB, free: 157.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.267, allocations: 0 / 1.493 GB, free: 157.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007358/1.268, allocations: 0.6798 MB / 1.493 GB, free: 157.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/1.269, allocations: 168.5 kB / 1.493 GB, free: 156.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/1.274, allocations: 6.846 MB / 1.5 GB, free: 149.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/1.274, allocations: 0.9571 MB / 1.501 GB, free: 148.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003686/1.274, allocations: 116.9 kB / 1.501 GB, free: 148.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/1.275, allocations: 211.4 kB / 1.501 GB, free: 148.6 MB / 0.9167 GB Notification: Performance of SimCode: time 6.763e-06/1.275, allocations: 0 / 1.501 GB, free: 148.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/1.301, allocations: 13.3 MB / 1.514 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/1.301, allocations: 216.8 kB / 1.515 GB, free: 135.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/3.6, allocations: 7 kB / 1.515 GB, free: 135.4 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