Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: 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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.338/2.338, allocations: 390.5 MB / 398 MB, free: 11.02 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.002156/0.002156, allocations: 176.3 kB / 491.2 MB, free: 1.609 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.521/1.521, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009615/0.0009618, allocations: 99.88 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.893e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3074, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.422, allocations: 199.6 MB / 1.407 GB, free: 1.238 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/1.423, allocations: 92.31 kB / 1.407 GB, free: 1.188 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09547/1.518, allocations: 43.74 MB / 1.45 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.483e-06/1.518, allocations: 0 / 1.45 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.554e-05/1.518, allocations: 19.98 kB / 1.45 GB, free: 12.46 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.001379/1.52, allocations: 0.8026 MB / 1.451 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.52, allocations: 8.031 kB / 1.451 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/1.521, allocations: 202.4 kB / 1.451 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008841/1.522, allocations: 0.5046 MB / 1.452 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/1.522, allocations: 16 kB / 1.452 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/1.522, allocations: 35.98 kB / 1.452 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006984/1.523, allocations: 459.9 kB / 1.452 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/1.524, allocations: 0.7831 MB / 1.453 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/1.524, allocations: 4 kB / 1.453 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.232e-05/1.524, allocations: 7.953 kB / 1.453 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/1.524, allocations: 44.34 kB / 1.453 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/1.528, allocations: 4.493 MB / 1.457 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/1.528, allocations: 279.9 kB / 1.457 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/1.529, allocations: 212.2 kB / 1.458 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/1.529, allocations: 7.984 kB / 1.458 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/1.529, allocations: 37.94 kB / 1.458 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/1.529, allocations: 0 / 1.458 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.003525/1.532, allocations: 1.98 MB / 1.46 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/1.532, allocations: 58.84 kB / 1.46 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/1.533, allocations: 338.6 kB / 1.46 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/1.533, allocations: 25.7 kB / 1.46 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/1.533, allocations: 346.4 kB / 1.46 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/1.533, allocations: 135.8 kB / 1.461 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/1.533, allocations: 0 / 1.461 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.533, allocations: 361.4 kB / 1.461 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/1.534, allocations: 219.8 kB / 1.461 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/1.534, allocations: 364.7 kB / 1.461 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/1.534, allocations: 272.8 kB / 1.462 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.534, allocations: 4 kB / 1.462 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001382/1.536, allocations: 0.8238 MB / 1.462 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.536, allocations: 4 kB / 1.462 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.536, allocations: 8 kB / 1.463 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007094/1.536, allocations: 229.3 kB / 1.463 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/1.537, allocations: 107.4 kB / 1.463 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004995/1.542, allocations: 4.729 MB / 1.467 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/1.542, allocations: 19.97 kB / 1.467 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/1.542, allocations: 19.81 kB / 1.467 GB, free: 12.02 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.0001675/1.543, allocations: 120.4 kB / 1.468 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.543, allocations: 55.39 kB / 1.468 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/1.544, allocations: 0.7255 MB / 1.468 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.544, allocations: 7.953 kB / 1.468 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.544, allocations: 0 / 1.468 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.544, allocations: 7.984 kB / 1.468 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/1.547, allocations: 1.352 MB / 1.47 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.547, allocations: 0 / 1.47 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/1.547, allocations: 71.88 kB / 1.47 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006272/1.548, allocations: 193.9 kB / 1.47 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/1.548, allocations: 11.45 kB / 1.47 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003993/1.552, allocations: 4.664 MB / 1.475 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.552, allocations: 0 / 1.475 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/1.553, allocations: 1.156 MB / 1.476 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/1.553, allocations: 170.5 kB / 1.476 GB, free: 4.219 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/1.554, allocations: 4.188 kB / 1.476 GB, free: 4.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/1.554, allocations: 31.86 kB / 1.476 GB, free: 4.184 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/1.554, allocations: 39.45 kB / 1.476 GB, free: 4.148 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/1.554, allocations: 11.75 kB / 1.476 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002517/1.554, allocations: 259 kB / 1.476 GB, free: 3.945 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.624e-06/1.554, allocations: 0 / 1.476 GB, free: 3.945 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007286/1.555, allocations: 155.9 kB / 1.476 GB, free: 3.793 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.000295/1.555, allocations: 116.7 kB / 1.476 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001698/1.557, allocations: 0.9301 MB / 1.477 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.557, allocations: 0 / 1.477 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009277/1.558, allocations: 0.6372 MB / 1.478 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/1.559, allocations: 141.7 kB / 1.478 GB, free: 2.223 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/1.561, allocations: 0.9479 MB / 1.479 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/1.561, allocations: 0.966 MB / 1.48 GB, free: 356 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003609/1.562, allocations: 104.6 kB / 1.48 GB, free: 252 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.685e-05/1.562, allocations: 35.44 kB / 1.48 GB, free: 216 kB / 0.8855 GB Notification: Performance of SimCode: time 2.7e-07/1.562, allocations: 4 kB / 1.48 GB, free: 212 kB / 0.8855 GB Notification: Performance of Templates: time 0.01292/1.575, allocations: 7.473 MB / 1.487 GB, free: 8.84 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches