Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.Conversion.Examples.TransformerStepDownDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY") [: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.336/1.336, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.0009452/0.0009452, allocations: 181.3 kB / 366.3 MB, free: 1.965 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.993/0.993, allocations: 205.1 MB / 0.6256 GB, free: 7.426 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.0007756/0.0007756, allocations: 83.56 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.721e-06, allocations: 0 / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4036, allocations: 116.3 MB / 0.9726 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.5705, allocations: 187.7 MB / 1.156 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.5708, allocations: 97.02 kB / 1.156 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.2245/0.7953, allocations: 104.7 MB / 1.258 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.257e-05/0.7954, allocations: 60 kB / 1.258 GB, free: 0.9375 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.215/1.01, allocations: 2.467 MB / 1.261 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/1.01, allocations: 10.75 kB / 1.261 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009404/1.02, allocations: 1.521 MB / 1.262 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/1.022, allocations: 1.724 MB / 1.264 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/1.022, allocations: 98.03 kB / 1.264 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003889/1.023, allocations: 171.1 kB / 1.264 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005138/1.028, allocations: 4.199 MB / 1.268 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005401/1.033, allocations: 4.621 MB / 1.273 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.215e-05/1.033, allocations: 5.969 kB / 1.273 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000303/1.034, allocations: 3.875 kB / 1.273 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002085/1.034, allocations: 197.4 kB / 1.273 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/1.051, allocations: 22.52 MB / 1.295 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/1.052, allocations: 1.207 MB / 1.296 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/1.054, allocations: 1.214 MB / 1.297 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/1.054, allocations: 122.5 kB / 1.297 GB, free: 267 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/1.054, allocations: 50.25 kB / 1.298 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=123): time 2.956e-06/1.054, allocations: 0 / 1.298 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.01137/1.065, allocations: 7.424 MB / 1.305 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/1.065, allocations: 230.9 kB / 1.305 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008837/1.066, allocations: 0.9243 MB / 1.306 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/1.066, allocations: 26.64 kB / 1.306 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/1.067, allocations: 1.21 MB / 1.307 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/1.067, allocations: 0.5053 MB / 1.308 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/1.067, allocations: 0 / 1.308 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.067, allocations: 430.7 kB / 1.308 GB, free: 263 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/1.069, allocations: 1.35 MB / 1.309 GB, free: 263 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/1.07, allocations: 2.018 MB / 1.311 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/1.073, allocations: 1.992 MB / 1.313 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/1.073, allocations: 10.56 kB / 1.313 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006551/1.08, allocations: 4.371 MB / 1.318 GB, free: 262 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001188/1.081, allocations: 8.428 MB / 1.326 GB, free: 253.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/1.081, allocations: 24.53 kB / 1.326 GB, free: 253.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/1.083, allocations: 0.7698 MB / 1.327 GB, free: 253.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/1.086, allocations: 0.6619 MB / 1.327 GB, free: 253.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009599/1.096, allocations: 11.71 MB / 1.339 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/1.098, allocations: 310.6 kB / 1.339 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/1.098, allocations: 117.1 kB / 1.339 GB, free: 245.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.231e-06/1.098, allocations: 3.906 kB / 1.339 GB, free: 245.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005955/1.104, allocations: 4.095 MB / 1.343 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/1.104, allocations: 21.91 kB / 1.343 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/1.106, allocations: 0.6668 MB / 1.344 GB, free: 244 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/1.109, allocations: 0.6626 MB / 1.344 GB, free: 244 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008197/1.117, allocations: 11.31 MB / 1.355 GB, free: 235 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/1.12, allocations: 292.1 kB / 1.356 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/1.12, allocations: 113.3 kB / 1.356 GB, free: 234.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003756/1.12, allocations: 174.5 kB / 1.356 GB, free: 234.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/1.121, allocations: 123.9 kB / 1.356 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006973/1.128, allocations: 3.861 MB / 1.36 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/1.128, allocations: 16.53 kB / 1.36 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/1.128, allocations: 7.125 kB / 1.36 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/1.128, allocations: 12.59 kB / 1.36 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/1.138, allocations: 6.806 MB / 1.366 GB, free: 230.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.138, allocations: 9.234 kB / 1.366 GB, free: 230.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/1.14, allocations: 427.2 kB / 1.367 GB, free: 230.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/1.142, allocations: 0.6263 MB / 1.368 GB, free: 230 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/1.142, allocations: 32.03 kB / 1.368 GB, free: 230 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00864/1.151, allocations: 11.12 MB / 1.378 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/1.151, allocations: 10.97 kB / 1.378 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005128/1.156, allocations: 3.7 MB / 1.382 GB, free: 219.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007678/1.157, allocations: 0.4968 MB / 1.383 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/1.157, allocations: 12.12 kB / 1.383 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/1.159, allocations: 261.6 kB / 1.383 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.159, allocations: 86.81 kB / 1.383 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.16, allocations: 63.5 kB / 1.383 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007468/1.16, allocations: 0.7223 MB / 1.384 GB, free: 218.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003214/1.164, allocations: 1.044 MB / 1.385 GB, free: 218.5 MB / 0.8542 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 (105): * Single equations (assignments): 99 * 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: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002365/1.164, allocations: 139.6 kB / 1.385 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007435/1.171, allocations: 6.323 MB / 1.391 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.171, allocations: 0 / 1.391 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002539/1.174, allocations: 2.096 MB / 1.393 GB, free: 214.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007391/1.175, allocations: 124.4 kB / 1.393 GB, free: 214.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/1.189, allocations: 5.63 MB / 1.399 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002461/1.191, allocations: 2.491 MB / 1.401 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/1.191, allocations: 1.375 kB / 1.401 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.05214/1.243, allocations: 48.33 MB / 1.448 GB, free: 185.2 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1)