Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.33/1.33, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.0009686/0.0009685, allocations: 189.2 kB / 366.3 MB, free: 2.023 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/1, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0007473/0.0007473, allocations: 88.73 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.372e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3814, allocations: 116.3 MB / 0.9726 GB, free: 68.87 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5345, allocations: 167.1 MB / 1.136 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.5348, allocations: 92.59 kB / 1.136 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.1513/0.686, allocations: 68.25 MB / 1.203 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.586e-05/0.6861, allocations: 36 kB / 1.203 GB, free: 8.262 MB / 0.8073 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.002288/0.6884, allocations: 1.519 MB / 1.204 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.6884, allocations: 11.97 kB / 1.204 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.691, allocations: 461.4 kB / 1.204 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.6927, allocations: 1.161 MB / 1.206 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.6928, allocations: 44 kB / 1.206 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.693, allocations: 87.94 kB / 1.206 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002795/0.6958, allocations: 2.033 MB / 1.208 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/0.6992, allocations: 2.609 MB / 1.21 GB, free: 124 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.6993, allocations: 7.938 kB / 1.21 GB, free: 116 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.6994, allocations: 4 kB / 1.21 GB, free: 112 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003682/0.6998, allocations: 158.9 kB / 1.21 GB, free: 15.95 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/0.7148, allocations: 13.95 MB / 1.224 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.7164, allocations: 1.278 MB / 1.225 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.7177, allocations: 1.117 MB / 1.226 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.7177, allocations: 16.64 kB / 1.226 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.7177, allocations: 43.22 kB / 1.226 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=82): time 3.908e-06/0.7178, allocations: 0 / 1.226 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=139): time 0.02325/0.741, allocations: 8.972 MB / 1.235 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.7411, allocations: 72.72 kB / 1.235 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.7421, allocations: 0.9018 MB / 1.236 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.7423, allocations: 33.64 kB / 1.236 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.7426, allocations: 0.6307 MB / 1.237 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003807/0.743, allocations: 469 kB / 1.237 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.7431, allocations: 3.938 kB / 1.237 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.7433, allocations: 422.6 kB / 1.238 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.7451, allocations: 1.495 MB / 1.239 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2111/0.9562, allocations: 1.779 MB / 1.241 GB, free: 285.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003456/0.9597, allocations: 2.111 MB / 1.243 GB, free: 285.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.9597, allocations: 3.625 kB / 1.243 GB, free: 285.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.009059/0.9687, allocations: 5.764 MB / 1.249 GB, free: 285 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.9688, allocations: 11.38 kB / 1.249 GB, free: 285 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.9688, allocations: 11.05 kB / 1.249 GB, free: 285 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006729/0.9755, allocations: 2.729 MB / 1.251 GB, free: 285 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.9763, allocations: 209.5 kB / 1.251 GB, free: 285 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/0.9925, allocations: 14.41 MB / 1.266 GB, free: 281.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.9938, allocations: 56.58 kB / 1.266 GB, free: 281.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/0.994, allocations: 163.4 kB / 1.266 GB, free: 281.4 MB / 0.8386 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.0002976/0.9943, allocations: 132.8 kB / 1.266 GB, free: 281.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.9946, allocations: 110.2 kB / 1.266 GB, free: 281.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008392/1.003, allocations: 5.253 MB / 1.271 GB, free: 281.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/1.003, allocations: 16.03 kB / 1.271 GB, free: 281.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/1.003, allocations: 9.812 kB / 1.271 GB, free: 281.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.003, allocations: 10.94 kB / 1.271 GB, free: 281.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/1.015, allocations: 8.374 MB / 1.279 GB, free: 280.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/1.015, allocations: 3.969 kB / 1.279 GB, free: 280.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/1.015, allocations: 109.1 kB / 1.279 GB, free: 280.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006385/1.022, allocations: 2.571 MB / 1.282 GB, free: 280.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/1.022, allocations: 40.19 kB / 1.282 GB, free: 280.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01632/1.038, allocations: 12.37 MB / 1.294 GB, free: 276 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.038, allocations: 8.219 kB / 1.294 GB, free: 276 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008655/1.047, allocations: 5.111 MB / 1.299 GB, free: 274.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.048, allocations: 0.5974 MB / 1.3 GB, free: 273.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003462/1.048, allocations: 9.75 kB / 1.3 GB, free: 273.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008633/1.049, allocations: 41.11 kB / 1.3 GB, free: 273.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/1.05, allocations: 110.8 kB / 1.3 GB, free: 273.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002182/1.05, allocations: 108.2 kB / 1.3 GB, free: 273.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007743/1.051, allocations: 0.6822 MB / 1.301 GB, free: 273.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001834/1.052, allocations: 0.5063 MB / 1.301 GB, free: 273.5 MB / 0.8386 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.0002762/1.053, allocations: 129.6 kB / 1.301 GB, free: 273.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005775/1.058, allocations: 3.938 MB / 1.305 GB, free: 272.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.059, allocations: 3.062 kB / 1.305 GB, free: 272.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003944/1.062, allocations: 2.27 MB / 1.307 GB, free: 271.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008757/1.063, allocations: 158.6 kB / 1.307 GB, free: 271.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/1.069, allocations: 3.335 MB / 1.311 GB, free: 270.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/1.07, allocations: 1.749 MB / 1.312 GB, free: 269.2 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.07, allocations: 0 / 1.312 GB, free: 269.2 MB / 0.8386 GB Notification: Performance of Templates: time 0.0447/1.115, allocations: 39.7 MB / 1.351 GB, free: 258.1 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)