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.218/2.218, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001035/0.001034, allocations: 192.7 kB / 487.4 MB, free: 5.059 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.443/1.443, allocations: 221.5 MB / 0.7824 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009429, allocations: 99.22 kB / 0.9219 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.987e-05, allocations: 5.953 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2943, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.37, allocations: 198.8 MB / 1.4 GB, free: 9.652 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/1.37, allocations: 95.44 kB / 1.4 GB, free: 9.602 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.101/1.471, allocations: 43.74 MB / 1.443 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.783e-06/1.471, allocations: 0 / 1.443 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.985e-05/1.471, allocations: 19.98 kB / 1.443 GB, free: 4.863 MB / 0.8542 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.002068/1.473, allocations: 0.8081 MB / 1.444 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/1.473, allocations: 8.031 kB / 1.444 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/1.475, allocations: 198.8 kB / 1.444 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/1.476, allocations: 0.4976 MB / 1.444 GB, free: 3.363 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/1.476, allocations: 20 kB / 1.444 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/1.477, allocations: 39.97 kB / 1.444 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009227/1.478, allocations: 459.5 kB / 1.445 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/1.479, allocations: 0.7797 MB / 1.446 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/1.479, allocations: 7.938 kB / 1.446 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/1.479, allocations: 4 kB / 1.446 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.765e-05/1.479, allocations: 48.31 kB / 1.446 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004999/1.484, allocations: 4.49 MB / 1.45 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/1.484, allocations: 282.5 kB / 1.45 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/1.485, allocations: 210.8 kB / 1.451 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/1.485, allocations: 4 kB / 1.451 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/1.485, allocations: 38.19 kB / 1.451 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/1.485, allocations: 3.938 kB / 1.451 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.004026/1.489, allocations: 1.972 MB / 1.453 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/1.489, allocations: 59.34 kB / 1.453 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/1.489, allocations: 344.2 kB / 1.453 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/1.489, allocations: 25.7 kB / 1.453 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/1.49, allocations: 343.3 kB / 1.453 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/1.49, allocations: 137.6 kB / 1.453 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/1.49, allocations: 0 / 1.453 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.49, allocations: 364.4 kB / 1.454 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/1.49, allocations: 212.9 kB / 1.454 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/1.491, allocations: 365.6 kB / 1.454 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/1.491, allocations: 276.7 kB / 1.455 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.491, allocations: 4 kB / 1.455 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001553/1.493, allocations: 0.8285 MB / 1.455 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.493, allocations: 8 kB / 1.455 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.493, allocations: 4 kB / 1.455 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007632/1.493, allocations: 217.9 kB / 1.456 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/1.494, allocations: 110.6 kB / 1.456 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004882/1.499, allocations: 4.742 MB / 1.46 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/1.499, allocations: 19.97 kB / 1.46 GB, free: 4.441 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/1.5, allocations: 24 kB / 1.46 GB, free: 4.422 MB / 0.8698 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.0001911/1.5, allocations: 116.8 kB / 1.46 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/1.5, allocations: 55.39 kB / 1.461 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/1.501, allocations: 0.7218 MB / 1.461 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/1.501, allocations: 4 kB / 1.461 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.501, allocations: 3.953 kB / 1.461 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.501, allocations: 0 / 1.461 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/1.504, allocations: 1.369 MB / 1.463 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.504, allocations: 0 / 1.463 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/1.504, allocations: 67.89 kB / 1.463 GB, free: 2.492 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006704/1.505, allocations: 205 kB / 1.463 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/1.505, allocations: 4 kB / 1.463 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004425/1.509, allocations: 4.652 MB / 1.467 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.51, allocations: 4 kB / 1.467 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/1.511, allocations: 1.147 MB / 1.469 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/1.512, allocations: 174.5 kB / 1.469 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/1.512, allocations: 4 kB / 1.469 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/1.512, allocations: 20.16 kB / 1.469 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-05/1.513, allocations: 43.72 kB / 1.469 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/1.513, allocations: 15.75 kB / 1.469 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003418/1.513, allocations: 258.1 kB / 1.469 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.51e-07/1.513, allocations: 0 / 1.469 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008754/1.514, allocations: 152 kB / 1.469 GB, free: 12.21 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.0002483/1.514, allocations: 119.3 kB / 1.469 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00164/1.516, allocations: 0.934 MB / 1.47 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.516, allocations: 4 kB / 1.47 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000907/1.517, allocations: 0.6393 MB / 1.471 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008523/1.517, allocations: 132.9 kB / 1.471 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/1.519, allocations: 0.9485 MB / 1.472 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/1.52, allocations: 0.965 MB / 1.473 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004437/1.521, allocations: 104.6 kB / 1.473 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/1.521, allocations: 35.44 kB / 1.473 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of SimCode: time 7.11e-07/1.521, allocations: 0 / 1.473 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of Templates: time 0.01563/1.536, allocations: 7.482 MB / 1.48 GB, free: 1.246 MB / 0.8855 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