Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") [: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.302/1.302, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.000948/0.0009481, allocations: 184.2 kB / 366.3 MB, free: 1.938 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.9702/0.9702, allocations: 205.2 MB / 0.6256 GB, free: 5.77 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.0008004/0.0008005, allocations: 90.02 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.412e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3894, allocations: 116.3 MB / 0.9726 GB, free: 68.84 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.562, allocations: 192 MB / 1.16 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.5623, allocations: 107.8 kB / 1.16 GB, free: 4.199 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.1466/0.7089, allocations: 68.3 MB / 1.227 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.698e-05/0.709, allocations: 39.94 kB / 1.227 GB, free: 15.1 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.002729/0.7117, allocations: 1.565 MB / 1.228 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.7117, allocations: 8.031 kB / 1.228 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.7142, allocations: 445.6 kB / 1.229 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.7161, allocations: 1.143 MB / 1.23 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.7162, allocations: 52 kB / 1.23 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.7164, allocations: 95.89 kB / 1.23 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002652/0.7191, allocations: 1.83 MB / 1.232 GB, free: 9.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.7223, allocations: 2.281 MB / 1.234 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/0.7224, allocations: 3.938 kB / 1.234 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.7225, allocations: 0 / 1.234 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.067e-05/0.7226, allocations: 91.06 kB / 1.234 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3009/1.024, allocations: 10.19 MB / 1.244 GB, free: 171.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/1.024, allocations: 0.5135 MB / 1.245 GB, free: 171.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/1.024, allocations: 382.6 kB / 1.245 GB, free: 171.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.221e-05/1.025, allocations: 87.36 kB / 1.245 GB, free: 171.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/1.025, allocations: 41.36 kB / 1.245 GB, free: 171.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 2.825e-06/1.025, allocations: 2.938 kB / 1.245 GB, free: 171.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.006904/1.032, allocations: 3.027 MB / 1.248 GB, free: 171.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/1.032, allocations: 84.34 kB / 1.248 GB, free: 171.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006302/1.032, allocations: 0.7452 MB / 1.249 GB, free: 171.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/1.032, allocations: 25.7 kB / 1.249 GB, free: 171.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/1.032, allocations: 0.6884 MB / 1.25 GB, free: 170.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.719e-05/1.033, allocations: 179.3 kB / 1.25 GB, free: 170.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/1.033, allocations: 0 / 1.25 GB, free: 170.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.228e-05/1.033, allocations: 387.8 kB / 1.25 GB, free: 170.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/1.033, allocations: 0.6015 MB / 1.251 GB, free: 170.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000675/1.034, allocations: 0.9627 MB / 1.252 GB, free: 170 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009697/1.035, allocations: 0.8558 MB / 1.253 GB, free: 170 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.035, allocations: 5.594 kB / 1.253 GB, free: 170 MB / 0.8386 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005145/1.04, allocations: 2.48 MB / 1.255 GB, free: 169.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005757/1.041, allocations: 4.524 MB / 1.259 GB, free: 165.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.041, allocations: 12.78 kB / 1.259 GB, free: 165.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003901/1.045, allocations: 0.9547 MB / 1.26 GB, free: 165.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/1.045, allocations: 212.2 kB / 1.261 GB, free: 165.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00575/1.051, allocations: 6.384 MB / 1.267 GB, free: 161.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000887/1.052, allocations: 108.2 kB / 1.267 GB, free: 161.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/1.052, allocations: 48.53 kB / 1.267 GB, free: 161.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-06/1.052, allocations: 3.625 kB / 1.267 GB, free: 161.6 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001551/1.054, allocations: 1.308 MB / 1.268 GB, free: 161.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.054, allocations: 10.84 kB / 1.268 GB, free: 161.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/1.054, allocations: 17.84 kB / 1.268 GB, free: 161.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008708/1.055, allocations: 262.8 kB / 1.269 GB, free: 161.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.055, allocations: 28.52 kB / 1.269 GB, free: 161.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/1.055, allocations: 78.73 kB / 1.269 GB, free: 161.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/1.055, allocations: 42.53 kB / 1.269 GB, free: 161.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.055, allocations: 132.2 kB / 1.269 GB, free: 161.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/1.056, allocations: 79.59 kB / 1.269 GB, free: 161.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0049/1.06, allocations: 2.165 MB / 1.271 GB, free: 161.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.06, allocations: 7.312 kB / 1.271 GB, free: 161.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.06, allocations: 0 / 1.271 GB, free: 161.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.06, allocations: 10.98 kB / 1.271 GB, free: 161.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006466/1.067, allocations: 3.786 MB / 1.275 GB, free: 160.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.067, allocations: 3.906 kB / 1.275 GB, free: 160.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/1.067, allocations: 90.88 kB / 1.275 GB, free: 160.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004396/1.072, allocations: 1.211 MB / 1.276 GB, free: 160.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/1.072, allocations: 3.562 kB / 1.276 GB, free: 160.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007864/1.08, allocations: 8.736 MB / 1.285 GB, free: 156 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.08, allocations: 0 / 1.285 GB, free: 156 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004617/1.084, allocations: 2.224 MB / 1.287 GB, free: 155.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/1.085, allocations: 277.7 kB / 1.287 GB, free: 155.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/1.085, allocations: 16.97 kB / 1.287 GB, free: 155.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008699/1.086, allocations: 102.8 kB / 1.287 GB, free: 155.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/1.086, allocations: 37.3 kB / 1.287 GB, free: 155.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/1.086, allocations: 19.47 kB / 1.287 GB, free: 155.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004689/1.086, allocations: 0.5677 MB / 1.288 GB, free: 155.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001342/1.088, allocations: 0.5545 MB / 1.288 GB, free: 155.4 MB / 0.8386 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 (42): * Single equations (assignments): 38 * 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 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002241/1.088, allocations: 169 kB / 1.288 GB, free: 155.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002631/1.091, allocations: 2.364 MB / 1.291 GB, free: 155 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.091, allocations: 1.562 kB / 1.291 GB, free: 155 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/1.092, allocations: 1.111 MB / 1.292 GB, free: 154.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006829/1.092, allocations: 178 kB / 1.292 GB, free: 154.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/1.096, allocations: 2.43 MB / 1.294 GB, free: 154.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.097, allocations: 1.697 MB / 1.296 GB, free: 153.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.097, allocations: 0 / 1.296 GB, free: 153.4 MB / 0.8386 GB Notification: Performance of Templates: time 0.02846/1.125, allocations: 22.75 MB / 1.318 GB, free: 149.9 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)