Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") [: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.298/1.298, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0008869/0.0008869, allocations: 185.3 kB / 361.1 MB, free: 7.109 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.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007683/0.0007683, allocations: 95.84 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.556e-06, allocations: 4 kB / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4015, allocations: 115.3 MB / 0.9637 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1714/0.5729, allocations: 187.1 MB / 1.146 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.5731, allocations: 96.78 kB / 1.146 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.2339/0.8071, allocations: 103.7 MB / 1.248 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.93e-05/0.8072, allocations: 63.98 kB / 1.248 GB, free: 8.371 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.005445/0.8126, allocations: 2.393 MB / 1.25 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.8127, allocations: 12.03 kB / 1.25 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.8232, allocations: 1.514 MB / 1.252 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.8264, allocations: 1.678 MB / 1.253 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.779e-05/0.8265, allocations: 96 kB / 1.253 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005544/0.8271, allocations: 168 kB / 1.254 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2136/1.041, allocations: 4.072 MB / 1.257 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006024/1.047, allocations: 4.5 MB / 1.262 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.586e-05/1.047, allocations: 2.156 kB / 1.262 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002943/1.047, allocations: 2.844 kB / 1.262 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/1.047, allocations: 194.4 kB / 1.262 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01781/1.065, allocations: 22.47 MB / 1.284 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/1.066, allocations: 1.175 MB / 1.285 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/1.068, allocations: 1.174 MB / 1.286 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/1.068, allocations: 126.6 kB / 1.286 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/1.068, allocations: 53.33 kB / 1.286 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=116): time 3.627e-06/1.068, allocations: 3.844 kB / 1.286 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=146): time 0.01169/1.08, allocations: 7.212 MB / 1.294 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/1.08, allocations: 232.3 kB / 1.294 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008875/1.081, allocations: 0.9035 MB / 1.295 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/1.081, allocations: 25.7 kB / 1.295 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/1.081, allocations: 1.185 MB / 1.296 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/1.081, allocations: 497.2 kB / 1.296 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.081, allocations: 0 / 1.296 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.082, allocations: 429.7 kB / 1.297 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/1.083, allocations: 1.297 MB / 1.298 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/1.085, allocations: 1.967 MB / 1.3 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/1.087, allocations: 1.927 MB / 1.302 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/1.088, allocations: 7.781 kB / 1.302 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.00686/1.094, allocations: 4.259 MB / 1.306 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001018/1.095, allocations: 8.599 MB / 1.314 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/1.095, allocations: 26.09 kB / 1.314 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/1.098, allocations: 0.778 MB / 1.315 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/1.101, allocations: 0.648 MB / 1.316 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009753/1.11, allocations: 11.76 MB / 1.327 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/1.113, allocations: 309 kB / 1.328 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/1.114, allocations: 116.2 kB / 1.328 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/1.114, allocations: 3.625 kB / 1.328 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006331/1.12, allocations: 3.986 MB / 1.332 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/1.12, allocations: 23.22 kB / 1.332 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/1.121, allocations: 0.6654 MB / 1.332 GB, free: 246.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/1.124, allocations: 0.6548 MB / 1.333 GB, free: 246.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008008/1.132, allocations: 11.34 MB / 1.344 GB, free: 237.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/1.135, allocations: 294.6 kB / 1.344 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/1.136, allocations: 116.1 kB / 1.344 GB, free: 237.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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.000456/1.136, allocations: 166.9 kB / 1.344 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/1.136, allocations: 118.6 kB / 1.345 GB, free: 237.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006276/1.143, allocations: 3.634 MB / 1.348 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/1.143, allocations: 19.66 kB / 1.348 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.143, allocations: 11.75 kB / 1.348 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/1.143, allocations: 7.688 kB / 1.348 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009427/1.152, allocations: 6.786 MB / 1.355 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.152, allocations: 6.188 kB / 1.355 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/1.155, allocations: 416.2 kB / 1.355 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/1.156, allocations: 0.6438 MB / 1.356 GB, free: 232.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/1.157, allocations: 30.73 kB / 1.356 GB, free: 232.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009013/1.166, allocations: 11.17 MB / 1.367 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/1.166, allocations: 10 kB / 1.367 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005352/1.171, allocations: 3.659 MB / 1.37 GB, free: 221.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007862/1.172, allocations: 486.8 kB / 1.371 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/1.172, allocations: 13.53 kB / 1.371 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002389/1.174, allocations: 262 kB / 1.371 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.175, allocations: 88.17 kB / 1.371 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.175, allocations: 58 kB / 1.371 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008329/1.176, allocations: 0.6954 MB / 1.372 GB, free: 221 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003849/1.179, allocations: 1.013 MB / 1.373 GB, free: 221 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 (101): * 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: 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.0002618/1.18, allocations: 138.3 kB / 1.373 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008546/1.188, allocations: 6.152 MB / 1.379 GB, free: 218 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.188, allocations: 4.219 kB / 1.379 GB, free: 218 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002969/1.191, allocations: 2.063 MB / 1.381 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/1.192, allocations: 134.3 kB / 1.381 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.207, allocations: 5.513 MB / 1.387 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00237/1.21, allocations: 2.439 MB / 1.389 GB, free: 214 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/1.21, allocations: 0 / 1.389 GB, free: 214 MB / 0.8542 GB Notification: Performance of Templates: time 0.05549/1.265, allocations: 47.24 MB / 1.435 GB, free: 198.3 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)