Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.TransformerStepDownYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") [: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.335/1.335, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.0009183/0.0009184, allocations: 185.2 kB / 366.3 MB, free: 1.996 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.9956/0.9956, allocations: 205.1 MB / 0.6256 GB, free: 7.465 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.000748/0.000748, allocations: 75.8 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.743e-06/6.883e-06, allocations: 4 kB / 0.859 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.411, allocations: 116.3 MB / 0.9726 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1724/0.5834, allocations: 187.7 MB / 1.156 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.5837, allocations: 97.12 kB / 1.156 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.226/0.8098, allocations: 101.2 MB / 1.255 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.275e-05/0.8099, allocations: 55.98 kB / 1.255 GB, free: 4.559 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.00589/0.8158, allocations: 2.376 MB / 1.257 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.8159, allocations: 12.03 kB / 1.257 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.8263, allocations: 1.514 MB / 1.259 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2142/1.04, allocations: 1.655 MB / 1.26 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/1.041, allocations: 93.97 kB / 1.26 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/1.041, allocations: 160.4 kB / 1.261 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005328/1.046, allocations: 4.082 MB / 1.265 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005242/1.052, allocations: 4.427 MB / 1.269 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.479e-05/1.052, allocations: 6.344 kB / 1.269 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/1.052, allocations: 0 / 1.269 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002095/1.052, allocations: 196.9 kB / 1.269 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/1.069, allocations: 22.14 MB / 1.291 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/1.07, allocations: 1.801 MB / 1.292 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/1.072, allocations: 1.418 MB / 1.294 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/1.072, allocations: 124 kB / 1.294 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/1.072, allocations: 57.33 kB / 1.294 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=132): time 2.886e-06/1.072, allocations: 0 / 1.294 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=174): time 0.01163/1.084, allocations: 7.782 MB / 1.302 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/1.084, allocations: 232.9 kB / 1.302 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007791/1.084, allocations: 0.8276 MB / 1.303 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/1.085, allocations: 28.42 kB / 1.303 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/1.085, allocations: 1.102 MB / 1.304 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/1.085, allocations: 0.5671 MB / 1.304 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/1.085, allocations: 0 / 1.304 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.086, allocations: 430.6 kB / 1.305 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/1.087, allocations: 1.388 MB / 1.306 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/1.089, allocations: 1.948 MB / 1.308 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/1.092, allocations: 2.022 MB / 1.31 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.092, allocations: 7.062 kB / 1.31 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00752/1.099, allocations: 4.581 MB / 1.314 GB, free: 265 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001/1.1, allocations: 6.868 MB / 1.321 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.101, allocations: 18.62 kB / 1.321 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/1.103, allocations: 1.031 MB / 1.322 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00353/1.107, allocations: 0.6191 MB / 1.323 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/1.119, allocations: 9.453 MB / 1.332 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/1.122, allocations: 293.6 kB / 1.332 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/1.122, allocations: 110.9 kB / 1.332 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.002e-06/1.122, allocations: 3.875 kB / 1.332 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006343/1.128, allocations: 4.319 MB / 1.337 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/1.128, allocations: 18.16 kB / 1.337 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/1.13, allocations: 0.8613 MB / 1.337 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/1.133, allocations: 0.6228 MB / 1.338 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/1.143, allocations: 9.051 MB / 1.347 GB, free: 247 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/1.146, allocations: 285.3 kB / 1.347 GB, free: 247 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/1.147, allocations: 114 kB / 1.347 GB, free: 247 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,77.8%) 30,(7,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004692/1.147, allocations: 157.2 kB / 1.347 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/1.147, allocations: 124.3 kB / 1.348 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007435/1.155, allocations: 4.222 MB / 1.352 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/1.155, allocations: 20.66 kB / 1.352 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/1.155, allocations: 12.19 kB / 1.352 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/1.155, allocations: 9 kB / 1.352 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/1.166, allocations: 7.422 MB / 1.359 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/1.166, allocations: 10.41 kB / 1.359 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/1.168, allocations: 430.8 kB / 1.359 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/1.17, allocations: 0.874 MB / 1.36 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/1.17, allocations: 27.8 kB / 1.36 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009603/1.18, allocations: 8.848 MB / 1.369 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.036e-06/1.18, allocations: 11.53 kB / 1.369 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005533/1.186, allocations: 4.186 MB / 1.373 GB, free: 234.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000779/1.186, allocations: 0.5113 MB / 1.373 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/1.187, allocations: 12.78 kB / 1.373 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/1.189, allocations: 258.2 kB / 1.374 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/1.189, allocations: 106.1 kB / 1.374 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.189, allocations: 64.52 kB / 1.374 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0006856/1.19, allocations: 0.6441 MB / 1.375 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003168/1.193, allocations: 1.041 MB / 1.376 GB, free: 233.8 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.0002451/1.193, allocations: 135 kB / 1.376 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008068/1.201, allocations: 6.063 MB / 1.382 GB, free: 231.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.201, allocations: 0 / 1.382 GB, free: 231.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002649/1.204, allocations: 1.915 MB / 1.383 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/1.205, allocations: 119.2 kB / 1.384 GB, free: 230.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.219, allocations: 5.689 MB / 1.389 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002416/1.222, allocations: 2.426 MB / 1.391 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/1.222, allocations: 1.875 kB / 1.391 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.05585/1.278, allocations: 51.33 MB / 1.442 GB, free: 194.6 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1)