Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [: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 8.1.4-maint.8.1.x/package.mo): time 1.328/1.328, allocations: 289.8 MB / 297.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009199/0.0009199, allocations: 177.3 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.011/1.011, allocations: 205.1 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007633/0.0007633, allocations: 91.38 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.692e-06/6.793e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3772, allocations: 116.3 MB / 0.9726 GB, free: 68.67 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.5304, allocations: 167.8 MB / 1.136 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.5307, allocations: 96.53 kB / 1.137 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.1776/0.7083, allocations: 85.18 MB / 1.22 GB, free: 6.387 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.49e-05/0.7084, allocations: 55.98 kB / 1.22 GB, free: 6.332 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003324/0.7117, allocations: 2.155 MB / 1.222 GB, free: 4.121 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.7117, allocations: 8.031 kB / 1.222 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/0.7154, allocations: 0.6761 MB / 1.223 GB, free: 3.434 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.7179, allocations: 1.543 MB / 1.224 GB, free: 1.84 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.718, allocations: 76 kB / 1.224 GB, free: 1.766 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003119/0.7183, allocations: 139.9 kB / 1.224 GB, free: 1.629 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004093/0.7224, allocations: 2.786 MB / 1.227 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004838/0.7272, allocations: 3.566 MB / 1.23 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/0.7273, allocations: 0 / 1.23 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/0.7275, allocations: 4 kB / 1.23 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.7276, allocations: 164.5 kB / 1.231 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2142/0.9419, allocations: 15.99 MB / 1.246 GB, free: 270 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008866/0.9428, allocations: 1.059 MB / 1.247 GB, free: 269.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.9434, allocations: 0.6245 MB / 1.248 GB, free: 269.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.9435, allocations: 97.25 kB / 1.248 GB, free: 269.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.9435, allocations: 43.41 kB / 1.248 GB, free: 269.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 2.715e-06/0.9435, allocations: 1.562 kB / 1.248 GB, free: 269.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76): time 0.003342/0.9469, allocations: 2.814 MB / 1.251 GB, free: 269 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.9469, allocations: 114.9 kB / 1.251 GB, free: 268.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007252/0.9477, allocations: 0.8492 MB / 1.252 GB, free: 268.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.9477, allocations: 29.64 kB / 1.252 GB, free: 268.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.948, allocations: 1.002 MB / 1.253 GB, free: 268.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.9481, allocations: 265.2 kB / 1.253 GB, free: 268.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.9482, allocations: 0 / 1.253 GB, free: 268.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.9483, allocations: 410.5 kB / 1.253 GB, free: 267.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006152/0.9489, allocations: 0.634 MB / 1.254 GB, free: 267.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007525/0.9497, allocations: 1.169 MB / 1.255 GB, free: 267.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.9509, allocations: 1.006 MB / 1.256 GB, free: 267.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.9509, allocations: 7.312 kB / 1.256 GB, free: 267.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002485/0.9534, allocations: 2.052 MB / 1.258 GB, free: 267 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.9534, allocations: 10.64 kB / 1.258 GB, free: 267 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.9535, allocations: 18.06 kB / 1.258 GB, free: 267 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.9538, allocations: 162.5 kB / 1.258 GB, free: 267 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.9549, allocations: 330.4 kB / 1.259 GB, free: 267 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.9549, allocations: 38.97 kB / 1.259 GB, free: 267 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008102/0.9557, allocations: 90.92 kB / 1.259 GB, free: 267 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/0.9558, allocations: 71.41 kB / 1.259 GB, free: 267 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.956, allocations: 155.3 kB / 1.259 GB, free: 266.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.9561, allocations: 110.1 kB / 1.259 GB, free: 266.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.9578, allocations: 1.347 MB / 1.26 GB, free: 266.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.9579, allocations: 13.61 kB / 1.26 GB, free: 266.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.9579, allocations: 3.906 kB / 1.26 GB, free: 266.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.9579, allocations: 7.562 kB / 1.26 GB, free: 266.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/0.9617, allocations: 3.362 MB / 1.264 GB, free: 266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9617, allocations: 3.594 kB / 1.264 GB, free: 266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005969/0.9623, allocations: 152.5 kB / 1.264 GB, free: 266 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000289/0.9626, allocations: 143.1 kB / 1.264 GB, free: 266 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.9627, allocations: 5.875 kB / 1.264 GB, free: 266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.9627, allocations: 5 kB / 1.264 GB, free: 266 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9627, allocations: 7.031 kB / 1.264 GB, free: 266 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001511/0.9642, allocations: 1.705 MB / 1.266 GB, free: 265.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.9645, allocations: 297 kB / 1.266 GB, free: 265.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.9647, allocations: 3.812 kB / 1.266 GB, free: 265.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.9653, allocations: 56.98 kB / 1.266 GB, free: 265.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-05/0.9654, allocations: 46.58 kB / 1.266 GB, free: 265.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.9654, allocations: 19.09 kB / 1.266 GB, free: 265.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005459/0.966, allocations: 0.6327 MB / 1.267 GB, free: 265.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001046/0.967, allocations: 384.1 kB / 1.267 GB, free: 265.1 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.9672, allocations: 117.8 kB / 1.267 GB, free: 265 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.9686, allocations: 1.751 MB / 1.269 GB, free: 264.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9686, allocations: 0 / 1.269 GB, free: 264.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006144/0.9692, allocations: 0.9111 MB / 1.27 GB, free: 264.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009023/0.9701, allocations: 206.4 kB / 1.27 GB, free: 264.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.9742, allocations: 3.102 MB / 1.273 GB, free: 263.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/0.9757, allocations: 2.054 MB / 1.275 GB, free: 262.8 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.9757, allocations: 0 / 1.275 GB, free: 262.8 MB / 0.8386 GB Notification: Performance of Templates: time 0.01902/0.9948, allocations: 14.52 MB / 1.289 GB, free: 262.3 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)