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.ACLineMatrix_RLC.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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [: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.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.0009752/0.0009752, allocations: 177.3 kB / 361.1 MB, free: 7.125 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.9761/0.9761, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.000742/0.0007422, allocations: 89.78 kB / 0.7325 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.923e-06, allocations: 4 kB / 0.8511 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3948, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.5476, allocations: 166.1 MB / 1.126 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.5478, allocations: 89.06 kB / 1.126 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.1361/0.6839, allocations: 59.77 MB / 1.184 GB, free: 9.766 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.18e-05/0.684, allocations: 36 kB / 1.184 GB, free: 9.73 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002818/0.6868, allocations: 1.526 MB / 1.186 GB, free: 8.152 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.6868, allocations: 12.53 kB / 1.186 GB, free: 8.141 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.6895, allocations: 470.2 kB / 1.186 GB, free: 7.68 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.6914, allocations: 1.143 MB / 1.187 GB, free: 6.496 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.6915, allocations: 48 kB / 1.187 GB, free: 6.449 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.6917, allocations: 88 kB / 1.188 GB, free: 6.363 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002983/0.6947, allocations: 2.033 MB / 1.19 GB, free: 4.328 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/0.6983, allocations: 2.605 MB / 1.192 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.6984, allocations: 3.938 kB / 1.192 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.6985, allocations: 4 kB / 1.192 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003705/0.6989, allocations: 162.9 kB / 1.192 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.7146, allocations: 13.96 MB / 1.206 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.7162, allocations: 1.27 MB / 1.207 GB, free: 1.137 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.7175, allocations: 1.109 MB / 1.208 GB, free: 28 kB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.7176, allocations: 24.56 kB / 1.208 GB, free: 4 kB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.7176, allocations: 43.2 kB / 1.208 GB, free: 15.95 MB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 2.044e-06/0.7176, allocations: 0 / 1.208 GB, free: 15.95 MB / 0.823 GB Notification: Performance of matching and sorting (n=139): time 0.02306/0.7407, allocations: 8.978 MB / 1.217 GB, free: 6.961 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.7407, allocations: 69.47 kB / 1.217 GB, free: 6.883 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.7418, allocations: 0.9018 MB / 1.218 GB, free: 5.977 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.7419, allocations: 29.7 kB / 1.218 GB, free: 5.941 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.7422, allocations: 0.6307 MB / 1.219 GB, free: 5.297 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/0.7426, allocations: 469 kB / 1.219 GB, free: 4.832 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.7428, allocations: 0 / 1.219 GB, free: 4.832 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.7429, allocations: 422.6 kB / 1.219 GB, free: 4.41 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.7448, allocations: 1.491 MB / 1.221 GB, free: 2.918 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.7468, allocations: 1.782 MB / 1.223 GB, free: 1.027 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003805/0.7506, allocations: 2.116 MB / 1.225 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.7506, allocations: 4 kB / 1.225 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01066/0.7613, allocations: 5.781 MB / 1.23 GB, free: 9.102 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7613, allocations: 4 kB / 1.23 GB, free: 9.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.7613, allocations: 8 kB / 1.23 GB, free: 9.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007684/0.769, allocations: 2.74 MB / 1.233 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007973/0.7698, allocations: 208.2 kB / 1.233 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/0.7895, allocations: 14.4 MB / 1.247 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.7906, allocations: 63.95 kB / 1.247 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/0.7909, allocations: 167.9 kB / 1.248 GB, free: 7.23 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003193/0.7913, allocations: 120.7 kB / 1.248 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.7915, allocations: 110.7 kB / 1.248 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009643/0.8012, allocations: 5.254 MB / 1.253 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.8012, allocations: 16 kB / 1.253 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.8012, allocations: 13 kB / 1.253 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.8012, allocations: 9.188 kB / 1.253 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2165/1.018, allocations: 8.361 MB / 1.261 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.018, allocations: 3.375 kB / 1.261 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/1.018, allocations: 112.4 kB / 1.261 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006505/1.025, allocations: 2.569 MB / 1.264 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/1.025, allocations: 37.7 kB / 1.264 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/1.039, allocations: 12.38 MB / 1.276 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.039, allocations: 3.625 kB / 1.276 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007666/1.047, allocations: 5.111 MB / 1.281 GB, free: 302.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008258/1.048, allocations: 0.6048 MB / 1.281 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/1.048, allocations: 3.969 kB / 1.281 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007839/1.049, allocations: 43.7 kB / 1.281 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/1.049, allocations: 107.5 kB / 1.282 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/1.049, allocations: 119.2 kB / 1.282 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0005855/1.05, allocations: 0.6806 MB / 1.282 GB, free: 302.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001378/1.051, allocations: 0.5049 MB / 1.283 GB, free: 302.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002374/1.051, allocations: 127.7 kB / 1.283 GB, free: 302.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005147/1.057, allocations: 3.937 MB / 1.287 GB, free: 302 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.057, allocations: 0 / 1.287 GB, free: 302 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003696/1.06, allocations: 2.271 MB / 1.289 GB, free: 301.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/1.061, allocations: 152.3 kB / 1.289 GB, free: 301.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/1.066, allocations: 3.346 MB / 1.292 GB, free: 301.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/1.067, allocations: 1.746 MB / 1.294 GB, free: 300.4 MB / 0.8542 GB Notification: Performance of SimCode: time 3.41e-07/1.067, allocations: 0 / 1.294 GB, free: 300.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.04443/1.111, allocations: 39.67 MB / 1.333 GB, free: 298.6 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)