Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.0.1-maint.8.0.x/package.mo): time 1.296/1.296, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009984/0.0009984, allocations: 177.3 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9887/0.9887, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.0007757/0.0007757, allocations: 87.64 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.36e-06, allocations: 0 / 0.8511 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3887, allocations: 115.3 MB / 0.9637 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.5296, allocations: 153.6 MB / 1.114 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.5299, allocations: 93.64 kB / 1.114 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.06565/0.5955, allocations: 29.3 MB / 1.142 GB, free: 5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.473e-05/0.5956, allocations: 26.89 kB / 1.142 GB, free: 4.977 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001064/0.5967, allocations: 0.7747 MB / 1.143 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.5967, allocations: 8.531 kB / 1.143 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.598, allocations: 206.8 kB / 1.143 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.5987, allocations: 0.4885 MB / 1.144 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.5987, allocations: 12 kB / 1.144 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.5988, allocations: 28 kB / 1.144 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006371/0.5994, allocations: 434.1 kB / 1.144 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009146/0.6003, allocations: 0.8653 MB / 1.145 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.6004, allocations: 7.938 kB / 1.145 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.582e-05/0.6004, allocations: 4 kB / 1.145 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.779e-05/0.6005, allocations: 64.72 kB / 1.145 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003819/0.6043, allocations: 5.57 MB / 1.151 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.6048, allocations: 419.2 kB / 1.151 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.6051, allocations: 225.3 kB / 1.151 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.6051, allocations: 4 kB / 1.151 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.6051, allocations: 40.03 kB / 1.151 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/0.6051, allocations: 4 kB / 1.151 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001384/0.6065, allocations: 0.8241 MB / 1.152 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.6066, allocations: 55.41 kB / 1.152 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.6069, allocations: 358 kB / 1.152 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.607, allocations: 25.7 kB / 1.152 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.6071, allocations: 295.4 kB / 1.153 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/0.6072, allocations: 114.4 kB / 1.153 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.6072, allocations: 4 kB / 1.153 GB, free: 9.457 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6073, allocations: 358.8 kB / 1.153 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.6076, allocations: 181.2 kB / 1.153 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.6079, allocations: 397.5 kB / 1.154 GB, free: 8.434 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.6083, allocations: 248 kB / 1.154 GB, free: 8.191 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6083, allocations: 7.938 kB / 1.154 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001083/0.6094, allocations: 0.716 MB / 1.155 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.6094, allocations: 6.906 kB / 1.155 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.6094, allocations: 8 kB / 1.155 GB, free: 7.434 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004621/0.6099, allocations: 144.1 kB / 1.155 GB, free: 7.277 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.6103, allocations: 111.8 kB / 1.155 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.613, allocations: 3.87 MB / 1.159 GB, free: 2.957 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.6133, allocations: 15.98 kB / 1.159 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.6133, allocations: 27.91 kB / 1.159 GB, free: 2.914 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.6134, allocations: 124.9 kB / 1.159 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/0.6135, allocations: 59.33 kB / 1.159 GB, free: 2.727 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009203/0.6145, allocations: 0.569 MB / 1.16 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6145, allocations: 4 kB / 1.16 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6145, allocations: 4 kB / 1.16 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6145, allocations: 3.984 kB / 1.16 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.6161, allocations: 1.168 MB / 1.161 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6161, allocations: 4 kB / 1.161 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.6163, allocations: 52.12 kB / 1.161 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004021/0.6167, allocations: 148.2 kB / 1.161 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.6168, allocations: 4 kB / 1.161 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.6194, allocations: 3.842 MB / 1.165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6194, allocations: 0 / 1.165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000886/0.6203, allocations: 0.7785 MB / 1.165 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.6205, allocations: 168.3 kB / 1.166 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/0.6206, allocations: 7.984 kB / 1.166 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.6208, allocations: 11.98 kB / 1.166 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.6209, allocations: 11.98 kB / 1.166 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.6209, allocations: 12 kB / 1.166 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.00023/0.6211, allocations: 266.9 kB / 1.166 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005341/0.6217, allocations: 128 kB / 1.166 GB, free: 10.98 MB / 0.7761 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001226/0.6218, allocations: 111 kB / 1.166 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.623, allocations: 0.9681 MB / 1.167 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.623, allocations: 0 / 1.167 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000726/0.6238, allocations: 0.701 MB / 1.168 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.6245, allocations: 164.3 kB / 1.168 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.6258, allocations: 0.7762 MB / 1.169 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/0.6263, allocations: 0.9526 MB / 1.17 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of SimCode: time 3.61e-07/0.6263, allocations: 0 / 1.17 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of Templates: time 0.0116/0.6379, allocations: 7.038 MB / 1.176 GB, free: 228 kB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)