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.TransformerStepUpYD.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.TransformerStepUpYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD") [: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.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009436/0.0009436, allocations: 181.3 kB / 361.1 MB, free: 7.102 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.9762/0.9762, 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.0007404/0.0007404, allocations: 99.84 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.194e-06/7.204e-06, allocations: 4 kB / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4008, allocations: 115.3 MB / 0.9637 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.5701, allocations: 186.8 MB / 1.146 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.5704, allocations: 96.64 kB / 1.146 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.2346/0.805, allocations: 101.2 MB / 1.245 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.094e-05/0.8051, allocations: 56 kB / 1.245 GB, free: 11.13 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.005757/0.8109, allocations: 2.373 MB / 1.247 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.8109, allocations: 8.031 kB / 1.247 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.8216, allocations: 1.511 MB / 1.249 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.8252, allocations: 1.67 MB / 1.25 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.997e-05/0.8253, allocations: 92 kB / 1.251 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006838/0.826, allocations: 164 kB / 1.251 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006701/0.8327, allocations: 4.068 MB / 1.255 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3095/1.142, allocations: 4.433 MB / 1.259 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.386e-05/1.142, allocations: 3 kB / 1.259 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002927/1.143, allocations: 3.75 kB / 1.259 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002379/1.143, allocations: 195.6 kB / 1.259 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0174/1.16, allocations: 22.15 MB / 1.281 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/1.162, allocations: 1.8 MB / 1.283 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/1.164, allocations: 1.42 MB / 1.284 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/1.164, allocations: 120.9 kB / 1.284 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/1.164, allocations: 57.89 kB / 1.284 GB, free: 157 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=132): time 3.246e-06/1.164, allocations: 3.188 kB / 1.284 GB, free: 157 MB / 0.8542 GB Notification: Performance of matching and sorting (n=174): time 0.01236/1.176, allocations: 7.777 MB / 1.292 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/1.176, allocations: 230.9 kB / 1.292 GB, free: 155 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008013/1.177, allocations: 0.8244 MB / 1.293 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/1.177, allocations: 29.45 kB / 1.293 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/1.177, allocations: 1.104 MB / 1.294 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/1.178, allocations: 0.5695 MB / 1.294 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/1.178, allocations: 0 / 1.294 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.178, allocations: 431.5 kB / 1.295 GB, free: 153.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/1.18, allocations: 1.379 MB / 1.296 GB, free: 153.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/1.182, allocations: 1.949 MB / 1.298 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/1.185, allocations: 2.022 MB / 1.3 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/1.185, allocations: 3.438 kB / 1.3 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006974/1.192, allocations: 4.584 MB / 1.305 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008483/1.192, allocations: 6.866 MB / 1.311 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/1.192, allocations: 21.84 kB / 1.311 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/1.195, allocations: 1.017 MB / 1.312 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00287/1.198, allocations: 0.6238 MB / 1.313 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/1.208, allocations: 9.422 MB / 1.322 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/1.21, allocations: 289.4 kB / 1.322 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/1.21, allocations: 113.9 kB / 1.322 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/1.21, allocations: 4.969 kB / 1.322 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006159/1.217, allocations: 4.319 MB / 1.327 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/1.217, allocations: 17.28 kB / 1.327 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/1.218, allocations: 0.8709 MB / 1.328 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/1.221, allocations: 0.6191 MB / 1.328 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008626/1.23, allocations: 9.031 MB / 1.337 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/1.232, allocations: 287.9 kB / 1.337 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/1.233, allocations: 108.5 kB / 1.337 GB, free: 140.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 30,(6,77.8%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004185/1.233, allocations: 163 kB / 1.338 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/1.233, allocations: 126.1 kB / 1.338 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007976/1.241, allocations: 4.204 MB / 1.342 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/1.241, allocations: 24.03 kB / 1.342 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.241, allocations: 13.69 kB / 1.342 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/1.241, allocations: 9.344 kB / 1.342 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/1.251, allocations: 7.431 MB / 1.349 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.251, allocations: 5.406 kB / 1.349 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/1.254, allocations: 429 kB / 1.349 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001908/1.256, allocations: 0.882 MB / 1.35 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/1.256, allocations: 34.42 kB / 1.35 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009121/1.265, allocations: 8.826 MB / 1.359 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.265, allocations: 12.09 kB / 1.359 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005231/1.27, allocations: 4.181 MB / 1.363 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007446/1.271, allocations: 0.5218 MB / 1.364 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/1.271, allocations: 11.69 kB / 1.364 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.273, allocations: 254.8 kB / 1.364 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/1.274, allocations: 106.9 kB / 1.364 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.274, allocations: 63.61 kB / 1.364 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007035/1.274, allocations: 0.641 MB / 1.365 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003114/1.278, allocations: 1.05 MB / 1.366 GB, free: 134.4 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): 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002387/1.278, allocations: 134.1 kB / 1.366 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008137/1.286, allocations: 6.047 MB / 1.372 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.286, allocations: 5.625 kB / 1.372 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002533/1.289, allocations: 1.914 MB / 1.374 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007776/1.289, allocations: 123.7 kB / 1.374 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/1.303, allocations: 5.69 MB / 1.379 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/1.305, allocations: 2.43 MB / 1.382 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/1.305, allocations: 0 / 1.382 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.053/1.358, allocations: 51.32 MB / 1.432 GB, free: 80.14 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1)