Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.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.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") [: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 9.1.1-maint.9.1.x/package.mo): time 1.783/1.783, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.00096/0.00096, allocations: 189.2 kB / 487 MB, free: 5.363 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.11/1.11, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.0008103/0.0008103, allocations: 99.3 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.18e-06/5.2e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.172, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4928/0.6648, allocations: 177.8 MB / 1.379 GB, free: 15.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.665, allocations: 90.56 kB / 1.379 GB, free: 15.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.06322/0.7283, allocations: 30.64 MB / 1.409 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.319e-05/0.7283, allocations: 16 kB / 1.409 GB, free: 5.383 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001118/0.7294, allocations: 0.756 MB / 1.41 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.7295, allocations: 8.031 kB / 1.41 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.7306, allocations: 175.1 kB / 1.41 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.731, allocations: 375 kB / 1.41 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.7311, allocations: 12 kB / 1.41 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.938e-05/0.7311, allocations: 27.94 kB / 1.41 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006686/0.7318, allocations: 489.8 kB / 1.411 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/0.7326, allocations: 0.7364 MB / 1.411 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.7326, allocations: 3.906 kB / 1.411 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.7327, allocations: 4 kB / 1.411 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/0.7327, allocations: 52.06 kB / 1.411 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.7359, allocations: 4.397 MB / 1.416 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/0.7366, allocations: 0.5195 MB / 1.416 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.737, allocations: 274.8 kB / 1.416 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.737, allocations: 14.97 kB / 1.416 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.737, allocations: 38.44 kB / 1.416 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=38): time 2.425e-06/0.737, allocations: 0 / 1.416 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39): time 0.0009365/0.738, allocations: 0.6475 MB / 1.417 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.738, allocations: 81.11 kB / 1.417 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.7382, allocations: 275.7 kB / 1.417 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.7383, allocations: 25.7 kB / 1.417 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.7384, allocations: 256.2 kB / 1.418 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.211e-05/0.7385, allocations: 142 kB / 1.418 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.7385, allocations: 0 / 1.418 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.7386, allocations: 347.5 kB / 1.418 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.7389, allocations: 225.7 kB / 1.418 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.7393, allocations: 429 kB / 1.419 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.7396, allocations: 301 kB / 1.419 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7396, allocations: 0 / 1.419 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008551/0.7405, allocations: 0.6664 MB / 1.42 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006322/0.7411, allocations: 2.613 MB / 1.422 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.7411, allocations: 8 kB / 1.422 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7412, allocations: 8 kB / 1.422 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/0.7419, allocations: 177.8 kB / 1.422 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.7419, allocations: 15.94 kB / 1.423 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.7424, allocations: 63.78 kB / 1.423 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.7424, allocations: 27.03 kB / 1.423 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.979e-06/0.7424, allocations: 4 kB / 1.423 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006119/0.7431, allocations: 0.4885 MB / 1.423 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.7431, allocations: 4 kB / 1.423 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.7431, allocations: 12 kB / 1.423 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.7437, allocations: 163.7 kB / 1.423 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.7437, allocations: 12 kB / 1.423 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.7441, allocations: 63.73 kB / 1.423 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.7441, allocations: 23.31 kB / 1.423 GB, free: 7.281 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.7442, allocations: 127.3 kB / 1.423 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-05/0.7443, allocations: 42.41 kB / 1.424 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007582/0.7451, allocations: 0.5738 MB / 1.424 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.7451, allocations: 4 kB / 1.424 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7451, allocations: 0 / 1.424 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.7451, allocations: 3.984 kB / 1.424 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.7466, allocations: 1.304 MB / 1.425 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7467, allocations: 3.984 kB / 1.425 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/0.7474, allocations: 138.9 kB / 1.425 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.7474, allocations: 4 kB / 1.425 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.7474, allocations: 7 kB / 1.425 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7474, allocations: 4 kB / 1.425 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7474, allocations: 0 / 1.425 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007062/0.7482, allocations: 0.8165 MB / 1.426 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.7483, allocations: 166.5 kB / 1.426 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.7484, allocations: 4 kB / 1.426 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.7489, allocations: 47.94 kB / 1.427 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.749, allocations: 25.97 kB / 1.427 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.749, allocations: 15.75 kB / 1.427 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001661/0.7492, allocations: 226.2 kB / 1.427 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006887/0.7499, allocations: 180 kB / 1.427 GB, free: 4.027 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001376/0.75, allocations: 116.4 kB / 1.427 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009809/0.751, allocations: 0.83 MB / 1.428 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.751, allocations: 0 / 1.428 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.7513, allocations: 271.3 kB / 1.428 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.7519, allocations: 93.25 kB / 1.428 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.7533, allocations: 0.83 MB / 1.429 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000543/0.7539, allocations: 0.9515 MB / 1.43 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of SimCode: time 3.61e-07/0.7539, allocations: 0 / 1.43 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of Templates: time 0.01161/0.7655, allocations: 8.254 MB / 1.438 GB, free: 9.105 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)