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.TransformerStepDownDY.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.TransformerStepDownDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.311/1.311, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009908/0.0009909, allocations: 179.5 kB / 361.1 MB, free: 7.121 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.012/1.012, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007587/0.0007589, allocations: 87.08 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/7.174e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4035, allocations: 115.3 MB / 0.9637 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/0.5717, allocations: 186.7 MB / 1.146 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.572, allocations: 96.48 kB / 1.146 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.2387/0.8108, allocations: 104.7 MB / 1.248 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.902e-05/0.8109, allocations: 56 kB / 1.248 GB, free: 7.609 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.00574/0.8166, allocations: 2.463 MB / 1.251 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.8167, allocations: 8.031 kB / 1.251 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.8271, allocations: 1.526 MB / 1.252 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.8303, allocations: 1.732 MB / 1.254 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-05/0.8304, allocations: 96 kB / 1.254 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005389/0.8309, allocations: 172 kB / 1.254 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2126/1.044, allocations: 4.198 MB / 1.258 GB, free: 284.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00682/1.05, allocations: 4.62 MB / 1.263 GB, free: 284.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.516e-05/1.05, allocations: 6.969 kB / 1.263 GB, free: 284.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000309/1.051, allocations: 3.812 kB / 1.263 GB, free: 284.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00023/1.051, allocations: 196 kB / 1.263 GB, free: 284.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/1.068, allocations: 22.51 MB / 1.285 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/1.069, allocations: 1.21 MB / 1.286 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/1.071, allocations: 1.22 MB / 1.287 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/1.071, allocations: 117.5 kB / 1.288 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/1.071, allocations: 60.62 kB / 1.288 GB, free: 272 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=123): time 3.277e-06/1.071, allocations: 0 / 1.288 GB, free: 272 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.01178/1.083, allocations: 7.419 MB / 1.295 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/1.083, allocations: 226 kB / 1.295 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008387/1.084, allocations: 0.9375 MB / 1.296 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/1.084, allocations: 25.7 kB / 1.296 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/1.084, allocations: 1.206 MB / 1.297 GB, free: 269 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/1.084, allocations: 0.5076 MB / 1.298 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/1.085, allocations: 0 / 1.298 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.085, allocations: 424.7 kB / 1.298 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/1.086, allocations: 1.358 MB / 1.299 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/1.088, allocations: 2.013 MB / 1.301 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/1.091, allocations: 1.992 MB / 1.303 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.091, allocations: 7.094 kB / 1.303 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006773/1.098, allocations: 4.378 MB / 1.308 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009625/1.099, allocations: 8.424 MB / 1.316 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/1.099, allocations: 22.81 kB / 1.316 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/1.101, allocations: 0.7718 MB / 1.317 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/1.104, allocations: 0.6563 MB / 1.317 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009784/1.114, allocations: 11.72 MB / 1.329 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/1.116, allocations: 299 kB / 1.329 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/1.117, allocations: 118 kB / 1.329 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.57e-06/1.117, allocations: 3.938 kB / 1.329 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006265/1.123, allocations: 4.103 MB / 1.333 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/1.123, allocations: 24.81 kB / 1.333 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/1.124, allocations: 0.659 MB / 1.334 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/1.127, allocations: 0.671 MB / 1.334 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007867/1.135, allocations: 11.3 MB / 1.346 GB, free: 241.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/1.138, allocations: 291.3 kB / 1.346 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/1.138, allocations: 116.8 kB / 1.346 GB, free: 241.4 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.0003714/1.138, allocations: 166.3 kB / 1.346 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/1.139, allocations: 124 kB / 1.346 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006503/1.145, allocations: 3.862 MB / 1.35 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.145, allocations: 23.19 kB / 1.35 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/1.145, allocations: 9.312 kB / 1.35 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.145, allocations: 8.234 kB / 1.35 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/1.156, allocations: 6.804 MB / 1.357 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/1.156, allocations: 9.375 kB / 1.357 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002456/1.158, allocations: 432.6 kB / 1.357 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/1.16, allocations: 0.6325 MB / 1.358 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/1.16, allocations: 30.88 kB / 1.358 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008995/1.169, allocations: 11.11 MB / 1.369 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/1.169, allocations: 10.81 kB / 1.369 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005223/1.174, allocations: 3.713 MB / 1.372 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008177/1.175, allocations: 0.4924 MB / 1.373 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/1.175, allocations: 8.469 kB / 1.373 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/1.178, allocations: 256.9 kB / 1.373 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/1.178, allocations: 98.03 kB / 1.373 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/1.178, allocations: 57.28 kB / 1.373 GB, free: 225.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008595/1.179, allocations: 0.7233 MB / 1.374 GB, free: 225 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003817/1.183, allocations: 1.048 MB / 1.375 GB, free: 225 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.0002592/1.183, allocations: 138.6 kB / 1.375 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008543/1.192, allocations: 6.323 MB / 1.381 GB, free: 222 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.192, allocations: 0 / 1.381 GB, free: 222 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002752/1.194, allocations: 2.093 MB / 1.383 GB, free: 220.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007991/1.195, allocations: 128.6 kB / 1.383 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/1.209, allocations: 5.626 MB / 1.389 GB, free: 219 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002411/1.212, allocations: 2.492 MB / 1.391 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of SimCode: time 3.61e-07/1.212, allocations: 0 / 1.391 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.05292/1.265, allocations: 48.33 MB / 1.438 GB, free: 196.4 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1)