Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [: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.329/1.329, allocations: 289.8 MB / 297 MB, free: 6.598 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.0009389/0.0009389, allocations: 181.3 kB / 366.3 MB, free: 1.934 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.9856/0.9856, allocations: 205.2 MB / 0.6256 GB, free: 5.785 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.0008137/0.0008137, allocations: 85.97 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.191e-06/6.231e-06, allocations: 0 / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4026, allocations: 116.3 MB / 0.9726 GB, free: 68.75 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.5589, allocations: 165.8 MB / 1.135 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.5591, allocations: 96.98 kB / 1.135 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.5866/1.146, allocations: 150.3 MB / 1.281 GB, free: 188.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001171/1.146, allocations: 82.56 kB / 1.281 GB, free: 188.3 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003828/1.15, allocations: 2.936 MB / 1.284 GB, free: 187 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/1.15, allocations: 10.53 kB / 1.284 GB, free: 187 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004797/1.155, allocations: 0.9864 MB / 1.285 GB, free: 186.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/1.158, allocations: 2.285 MB / 1.288 GB, free: 186.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/1.158, allocations: 104 kB / 1.288 GB, free: 186.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/1.158, allocations: 190.8 kB / 1.288 GB, free: 186.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004608/1.163, allocations: 3.78 MB / 1.291 GB, free: 186.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006073/1.169, allocations: 5.278 MB / 1.297 GB, free: 185.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.724e-05/1.169, allocations: 15.81 kB / 1.297 GB, free: 185.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/1.169, allocations: 11.88 kB / 1.297 GB, free: 185.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003752/1.17, allocations: 340.1 kB / 1.297 GB, free: 185.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/1.19, allocations: 28.73 MB / 1.325 GB, free: 162.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/1.191, allocations: 1.431 MB / 1.326 GB, free: 162 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/1.193, allocations: 1.515 MB / 1.328 GB, free: 161.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.417e-05/1.193, allocations: 15.52 kB / 1.328 GB, free: 161.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/1.193, allocations: 47.94 kB / 1.328 GB, free: 161.4 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 2.865e-06/1.193, allocations: 0 / 1.328 GB, free: 161.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.02973/1.222, allocations: 13.38 MB / 1.341 GB, free: 157.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/1.222, allocations: 77.11 kB / 1.341 GB, free: 157.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/1.224, allocations: 1.053 MB / 1.342 GB, free: 157.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/1.224, allocations: 25.7 kB / 1.342 GB, free: 157.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/1.224, allocations: 1.303 MB / 1.343 GB, free: 156.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/1.224, allocations: 0.5815 MB / 1.344 GB, free: 155.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/1.225, allocations: 0 / 1.344 GB, free: 155.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.886e-05/1.225, allocations: 385.9 kB / 1.344 GB, free: 155.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/1.227, allocations: 1.85 MB / 1.346 GB, free: 155 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/1.229, allocations: 2.35 MB / 1.348 GB, free: 153.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/1.232, allocations: 2.428 MB / 1.351 GB, free: 151.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.232, allocations: 4 kB / 1.351 GB, free: 151.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01183/1.244, allocations: 7.685 MB / 1.358 GB, free: 144.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.244, allocations: 7.375 kB / 1.358 GB, free: 144.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.244, allocations: 16 kB / 1.358 GB, free: 144.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/1.255, allocations: 4.12 MB / 1.362 GB, free: 140.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/1.256, allocations: 279.5 kB / 1.363 GB, free: 140 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/1.278, allocations: 19.35 MB / 1.382 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/1.28, allocations: 75.78 kB / 1.382 GB, free: 120.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/1.28, allocations: 175.9 kB / 1.382 GB, free: 120 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003855/1.281, allocations: 152.4 kB / 1.382 GB, free: 119.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/1.281, allocations: 185.8 kB / 1.382 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.293, allocations: 7.727 MB / 1.39 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/1.293, allocations: 19.91 kB / 1.39 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/1.293, allocations: 15.98 kB / 1.39 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/1.293, allocations: 11.97 kB / 1.39 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/1.31, allocations: 11.72 MB / 1.401 GB, free: 100 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.31, allocations: 4.844 kB / 1.401 GB, free: 100 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/1.311, allocations: 159.8 kB / 1.401 GB, free: 99.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0105/1.322, allocations: 4.042 MB / 1.405 GB, free: 95.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/1.322, allocations: 51.83 kB / 1.405 GB, free: 95.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02189/1.344, allocations: 18.91 MB / 1.424 GB, free: 76.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/1.344, allocations: 8 kB / 1.424 GB, free: 76.46 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01151/1.355, allocations: 7.93 MB / 1.432 GB, free: 68.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.356, allocations: 0.6899 MB / 1.432 GB, free: 67.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004138/1.357, allocations: 11.98 kB / 1.432 GB, free: 67.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.358, allocations: 71.77 kB / 1.432 GB, free: 67.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/1.358, allocations: 141 kB / 1.432 GB, free: 67.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/1.359, allocations: 151.9 kB / 1.433 GB, free: 67.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0008881/1.359, allocations: 0.7917 MB / 1.433 GB, free: 66.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002392/1.362, allocations: 0.8203 MB / 1.434 GB, free: 65.54 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003308/1.362, allocations: 146.3 kB / 1.434 GB, free: 65.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.008309/1.371, allocations: 5.829 MB / 1.44 GB, free: 59.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/1.371, allocations: 0 / 1.44 GB, free: 59.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.005849/1.376, allocations: 3.581 MB / 1.443 GB, free: 55.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/1.378, allocations: 399 kB / 1.444 GB, free: 55.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008563/1.387, allocations: 5.728 MB / 1.449 GB, free: 49.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002169/1.389, allocations: 2.789 MB / 1.452 GB, free: 46.88 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.389, allocations: 0 / 1.452 GB, free: 46.88 MB / 0.8386 GB Notification: Performance of Templates: time 0.05163/1.441, allocations: 47.93 MB / 1.499 GB, free: 15.72 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)