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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001203/0.001203, allocations: 189.4 kB / 498.1 MB, free: 5.73 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.59/1.59, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001023/0.001023, allocations: 106.4 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003452, allocations: 11.94 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3459, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.5854, allocations: 199.5 MB / 1.418 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.5858, allocations: 95.94 kB / 1.418 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.6947/1.281, allocations: 44.16 MB / 1.461 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.667e-06/1.281, allocations: 0 / 1.461 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.281e-05/1.281, allocations: 15.69 kB / 1.461 GB, free: 189.4 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.001731/1.282, allocations: 0.8834 MB / 1.462 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/1.282, allocations: 9.281 kB / 1.462 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/1.284, allocations: 202.1 kB / 1.462 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009417/1.285, allocations: 495.2 kB / 1.462 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/1.285, allocations: 40.97 kB / 1.463 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/1.285, allocations: 64.33 kB / 1.463 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/1.286, allocations: 0.8572 MB / 1.463 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/1.286, allocations: 3.938 kB / 1.463 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-05/1.286, allocations: 28.69 kB / 1.463 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-05/1.286, allocations: 49.83 kB / 1.463 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008023/1.287, allocations: 0.5697 MB / 1.464 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/1.291, allocations: 4.601 MB / 1.469 GB, free: 183 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/1.291, allocations: 293.9 kB / 1.469 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/1.291, allocations: 3.812 kB / 1.469 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/1.291, allocations: 30.56 kB / 1.469 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/1.291, allocations: 0 / 1.469 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40): time 0.004847/1.296, allocations: 2.644 MB / 1.471 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/1.296, allocations: 59.34 kB / 1.471 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/1.297, allocations: 405.2 kB / 1.472 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/1.297, allocations: 33.7 kB / 1.472 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/1.297, allocations: 331 kB / 1.472 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-05/1.297, allocations: 143.7 kB / 1.472 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/1.297, allocations: 8 kB / 1.472 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/1.297, allocations: 370.7 kB / 1.473 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/1.297, allocations: 237 kB / 1.473 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/1.298, allocations: 384.4 kB / 1.473 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/1.298, allocations: 289.7 kB / 1.474 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.298, allocations: 0 / 1.474 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001517/1.3, allocations: 0.9017 MB / 1.474 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/1.3, allocations: 8 kB / 1.474 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.3, allocations: 4 kB / 1.474 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007702/1.3, allocations: 230.8 kB / 1.475 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/1.301, allocations: 107.8 kB / 1.475 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/1.305, allocations: 5.015 MB / 1.48 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/1.305, allocations: 27.97 kB / 1.48 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/1.305, allocations: 20 kB / 1.48 GB, free: 171.7 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.0003627/1.306, allocations: 240.3 kB / 1.48 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/1.306, allocations: 55.34 kB / 1.48 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/1.307, allocations: 0.7699 MB / 1.481 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.307, allocations: 4 kB / 1.481 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.307, allocations: 4 kB / 1.481 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.307, allocations: 4 kB / 1.481 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/1.309, allocations: 1.479 MB / 1.482 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/1.309, allocations: 4 kB / 1.482 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/1.31, allocations: 63.89 kB / 1.482 GB, free: 169 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006204/1.31, allocations: 206.6 kB / 1.483 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/1.31, allocations: 11.98 kB / 1.483 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003458/1.314, allocations: 4.95 MB / 1.487 GB, free: 163.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.314, allocations: 4 kB / 1.487 GB, free: 163.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/1.316, allocations: 1.21 MB / 1.489 GB, free: 162.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/1.316, allocations: 180.3 kB / 1.489 GB, free: 161.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.29e-05/1.316, allocations: 8 kB / 1.489 GB, free: 161.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/1.316, allocations: 28.03 kB / 1.489 GB, free: 161.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.976e-05/1.317, allocations: 39.91 kB / 1.489 GB, free: 161.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/1.317, allocations: 8 kB / 1.489 GB, free: 161.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003594/1.317, allocations: 322.8 kB / 1.489 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.41e-07/1.317, allocations: 0 / 1.489 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008964/1.318, allocations: 172 kB / 1.489 GB, free: 161.4 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.0002741/1.318, allocations: 124.5 kB / 1.489 GB, free: 161.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001692/1.32, allocations: 0.996 MB / 1.49 GB, free: 160.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.32, allocations: 0 / 1.49 GB, free: 160.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008693/1.321, allocations: 0.6877 MB / 1.491 GB, free: 159.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009315/1.322, allocations: 156.1 kB / 1.491 GB, free: 159.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/1.324, allocations: 1.497 MB / 1.493 GB, free: 157.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/1.325, allocations: 0.961 MB / 1.494 GB, free: 156.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004152/1.325, allocations: 108.9 kB / 1.494 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.431e-05/1.325, allocations: 35.44 kB / 1.494 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.363e-06/1.325, allocations: 0 / 1.494 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.01276/1.338, allocations: 8.16 MB / 1.502 GB, free: 148.6 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (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 & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches