Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 193.2 kB / 316 MB, free: 3.473 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009638/0.0009638, allocations: 86.23 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.109e-05/1.113e-05, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1841, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5599/0.744, allocations: 165.1 MB / 1.046 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.7443, allocations: 92.56 kB / 1.046 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.4644/1.209, allocations: 197.8 MB / 1.239 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003037/1.209, allocations: 135.9 kB / 1.239 GB, free: 9.699 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01431/1.223, allocations: 4.529 MB / 1.244 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.223, allocations: 8.031 kB / 1.244 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008215/1.232, allocations: 1.039 MB / 1.245 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009525/1.241, allocations: 3.418 MB / 1.248 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/1.242, allocations: 180 kB / 1.248 GB, free: 408 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002507/1.244, allocations: 323.9 kB / 1.248 GB, free: 84 kB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3526/1.597, allocations: 5.637 MB / 1.254 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/1.611, allocations: 7.856 MB / 1.262 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/1.611, allocations: 32.64 kB / 1.262 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004953/1.612, allocations: 15.22 kB / 1.262 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002347/1.612, allocations: 330 kB / 1.262 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02917/1.641, allocations: 39.12 MB / 1.3 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/1.643, allocations: 2.153 MB / 1.302 GB, free: 129 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/1.645, allocations: 1.937 MB / 1.304 GB, free: 129 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/1.645, allocations: 21.72 kB / 1.304 GB, free: 129 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/1.646, allocations: 54.66 kB / 1.304 GB, free: 129 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 4.218e-06/1.646, allocations: 0 / 1.304 GB, free: 129 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.009534/1.655, allocations: 6.071 MB / 1.31 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/1.655, allocations: 70.88 kB / 1.31 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/1.656, allocations: 1.098 MB / 1.311 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.582e-05/1.656, allocations: 25.7 kB / 1.311 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006579/1.657, allocations: 1.993 MB / 1.313 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/1.658, allocations: 0.6033 MB / 1.314 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/1.658, allocations: 0 / 1.314 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.658, allocations: 400.8 kB / 1.314 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/1.659, allocations: 1.178 MB / 1.315 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/1.661, allocations: 1.841 MB / 1.317 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/1.662, allocations: 1.526 MB / 1.319 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.662, allocations: 9.812 kB / 1.319 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006233/1.668, allocations: 4.411 MB / 1.323 GB, free: 125 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.668, allocations: 10.25 kB / 1.323 GB, free: 125 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/1.668, allocations: 23.55 kB / 1.323 GB, free: 125 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003679/1.672, allocations: 1.557 MB / 1.325 GB, free: 125 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.673, allocations: 332.9 kB / 1.325 GB, free: 125 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/1.69, allocations: 15.56 MB / 1.34 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.692, allocations: 51.27 kB / 1.34 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.692, allocations: 90.28 kB / 1.34 GB, free: 119.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003219/1.692, allocations: 166.8 kB / 1.34 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/1.693, allocations: 212.6 kB / 1.341 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005987/1.699, allocations: 4.082 MB / 1.345 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.699, allocations: 17.88 kB / 1.345 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/1.699, allocations: 18.28 kB / 1.345 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.699, allocations: 10.36 kB / 1.345 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/1.711, allocations: 8.08 MB / 1.353 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.711, allocations: 3.375 kB / 1.353 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/1.712, allocations: 156.5 kB / 1.353 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003536/1.715, allocations: 1.531 MB / 1.354 GB, free: 118.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/1.715, allocations: 9.203 kB / 1.354 GB, free: 118.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01637/1.732, allocations: 15.55 MB / 1.369 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.732, allocations: 7 kB / 1.369 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005836/1.738, allocations: 4.477 MB / 1.374 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009398/1.739, allocations: 0.5206 MB / 1.374 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/1.739, allocations: 7.656 kB / 1.374 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008747/1.74, allocations: 36.64 kB / 1.374 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.74, allocations: 106.7 kB / 1.374 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/1.74, allocations: 44.41 kB / 1.374 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008835/1.741, allocations: 0.808 MB / 1.375 GB, free: 111 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002594/1.744, allocations: 0.8996 MB / 1.376 GB, free: 111 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002197/1.744, allocations: 122 kB / 1.376 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005483/1.749, allocations: 4.011 MB / 1.38 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.749, allocations: 0 / 1.38 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003931/1.753, allocations: 2.505 MB / 1.383 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/1.756, allocations: 0.6003 MB / 1.383 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/1.77, allocations: 7.048 MB / 1.39 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0044/1.774, allocations: 3.701 MB / 1.394 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/1.774, allocations: 0 / 1.394 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.06445/1.839, allocations: 41.05 MB / 1.434 GB, free: 95.66 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches