Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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 8.0.1-maint.8.0.x/package.mo): time 1.289/1.289, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.000896/0.000896, allocations: 193.2 kB / 361.1 MB, free: 7.066 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.9964/0.9964, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0007509/0.0007508, allocations: 90.66 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.213e-06/7.244e-06, allocations: 4 kB / 0.8511 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3902, allocations: 115.3 MB / 0.9637 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/0.5616, allocations: 191.8 MB / 1.151 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.5618, allocations: 99.92 kB / 1.151 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.1535/0.7154, allocations: 65.55 MB / 1.215 GB, free: 10.02 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.393e-05/0.7155, allocations: 40 kB / 1.215 GB, free: 9.984 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003762/0.7192, allocations: 1.659 MB / 1.217 GB, free: 8.273 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.7193, allocations: 12.53 kB / 1.217 GB, free: 8.262 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.7225, allocations: 0.5598 MB / 1.217 GB, free: 7.699 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.7251, allocations: 1.239 MB / 1.219 GB, free: 6.418 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.7252, allocations: 52 kB / 1.219 GB, free: 6.367 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003761/0.7255, allocations: 95.91 kB / 1.219 GB, free: 6.273 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003357/0.7289, allocations: 2.01 MB / 1.221 GB, free: 4.262 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003643/0.7326, allocations: 2.451 MB / 1.223 GB, free: 1.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/0.7326, allocations: 7.938 kB / 1.223 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.7328, allocations: 0 / 1.223 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.294e-05/0.7329, allocations: 91.22 kB / 1.223 GB, free: 1.652 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.7446, allocations: 10.58 MB / 1.233 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008272/0.7455, allocations: 0.6947 MB / 1.234 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006611/0.7462, allocations: 0.5263 MB / 1.235 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.7463, allocations: 93.45 kB / 1.235 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.7463, allocations: 38.94 kB / 1.235 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 2.395e-06/0.7463, allocations: 0 / 1.235 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.01031/0.7566, allocations: 4.225 MB / 1.239 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.7567, allocations: 85.77 kB / 1.239 GB, free: 488 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009525/0.7577, allocations: 0.7728 MB / 1.24 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/0.7577, allocations: 25.7 kB / 1.24 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.7581, allocations: 0.6993 MB / 1.24 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.7583, allocations: 240.5 kB / 1.241 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.7584, allocations: 4 kB / 1.241 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.7586, allocations: 398.7 kB / 1.241 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009862/0.7596, allocations: 0.7795 MB / 1.242 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.7607, allocations: 1.134 MB / 1.243 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.7624, allocations: 1.108 MB / 1.244 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.7624, allocations: 4 kB / 1.244 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00719/0.7696, allocations: 3.151 MB / 1.247 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00134/0.7709, allocations: 4.258 MB / 1.251 GB, free: 3.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.771, allocations: 8 kB / 1.251 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005183/0.7762, allocations: 1.264 MB / 1.253 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008763/0.777, allocations: 212.6 kB / 1.253 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2116/0.9886, allocations: 6.768 MB / 1.259 GB, free: 300 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.9897, allocations: 118.1 kB / 1.259 GB, free: 300 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.9899, allocations: 50.77 kB / 1.259 GB, free: 300 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/0.9899, allocations: 3.906 kB / 1.259 GB, free: 300 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002041/0.9919, allocations: 1.724 MB / 1.261 GB, free: 300 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.9919, allocations: 11.69 kB / 1.261 GB, free: 300 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.9919, allocations: 18.94 kB / 1.261 GB, free: 300 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.993, allocations: 308.8 kB / 1.261 GB, free: 300 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.9931, allocations: 25.86 kB / 1.262 GB, free: 300 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.9938, allocations: 89.11 kB / 1.262 GB, free: 300 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.9938, allocations: 49.72 kB / 1.262 GB, free: 300 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.994, allocations: 136.3 kB / 1.262 GB, free: 299.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.9942, allocations: 83.44 kB / 1.262 GB, free: 299.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00606/1, allocations: 2.905 MB / 1.265 GB, free: 299.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1, allocations: 10.56 kB / 1.265 GB, free: 299.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1, allocations: 0 / 1.265 GB, free: 299.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1, allocations: 10.95 kB / 1.265 GB, free: 299.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008489/1.009, allocations: 5.222 MB / 1.27 GB, free: 299.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.009, allocations: 2.031 kB / 1.27 GB, free: 299.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/1.009, allocations: 105.8 kB / 1.27 GB, free: 299.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005108/1.014, allocations: 1.478 MB / 1.271 GB, free: 299.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/1.014, allocations: 3.719 kB / 1.271 GB, free: 299.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/1.024, allocations: 8.728 MB / 1.28 GB, free: 297 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.025, allocations: 7.188 kB / 1.28 GB, free: 297 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005608/1.03, allocations: 2.882 MB / 1.283 GB, free: 296.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/1.031, allocations: 328.3 kB / 1.283 GB, free: 296.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/1.031, allocations: 5.969 kB / 1.283 GB, free: 296.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009497/1.032, allocations: 112.8 kB / 1.283 GB, free: 296.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.032, allocations: 41.7 kB / 1.283 GB, free: 296.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/1.032, allocations: 17.19 kB / 1.283 GB, free: 296.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0005548/1.032, allocations: 0.6027 MB / 1.284 GB, free: 296.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001615/1.034, allocations: 0.6041 MB / 1.284 GB, free: 296.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002365/1.034, allocations: 172.5 kB / 1.285 GB, free: 296.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003854/1.038, allocations: 2.911 MB / 1.287 GB, free: 296.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.038, allocations: 6.906 kB / 1.287 GB, free: 296.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/1.04, allocations: 1.233 MB / 1.289 GB, free: 295.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007773/1.041, allocations: 202.4 kB / 1.289 GB, free: 295.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/1.045, allocations: 2.895 MB / 1.292 GB, free: 295.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.046, allocations: 1.786 MB / 1.293 GB, free: 294.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.6e-07/1.046, allocations: 0 / 1.293 GB, free: 294.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.03492/1.081, allocations: 28.18 MB / 1.321 GB, free: 293.6 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)