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.TransformerStepDownYD.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.TransformerStepDownYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.306/1.306, 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.0009427/0.0009427, allocations: 181.3 kB / 361.1 MB, free: 7.094 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.004/1.004, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007766/0.0007766, allocations: 91.34 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.033e-06, allocations: 4 kB / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.403, allocations: 115.3 MB / 0.9637 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.5743, allocations: 186.7 MB / 1.146 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.5745, allocations: 96.81 kB / 1.146 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.228/0.8025, allocations: 101.2 MB / 1.245 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.844e-05/0.8026, allocations: 55.98 kB / 1.245 GB, free: 11.26 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.005512/0.8082, allocations: 2.369 MB / 1.247 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.8082, allocations: 12.02 kB / 1.247 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.8185, allocations: 1.514 MB / 1.249 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.8216, allocations: 1.662 MB / 1.25 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.305e-05/0.8217, allocations: 96 kB / 1.251 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005398/0.8222, allocations: 160 kB / 1.251 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006235/0.8285, allocations: 4.076 MB / 1.255 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2071/1.036, allocations: 4.43 MB / 1.259 GB, free: 285.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.605e-05/1.036, allocations: 0 / 1.259 GB, free: 285.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002934/1.036, allocations: 3.656 kB / 1.259 GB, free: 285.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002303/1.036, allocations: 196.8 kB / 1.259 GB, free: 285.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01658/1.053, allocations: 22.15 MB / 1.281 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/1.054, allocations: 1.79 MB / 1.283 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/1.056, allocations: 1.426 MB / 1.284 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/1.056, allocations: 118.1 kB / 1.284 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/1.056, allocations: 61.23 kB / 1.284 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=132): time 3.166e-06/1.056, allocations: 0 / 1.284 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=174): time 0.01222/1.068, allocations: 7.786 MB / 1.292 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/1.068, allocations: 236 kB / 1.292 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007546/1.069, allocations: 0.8191 MB / 1.293 GB, free: 271 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/1.069, allocations: 29.39 kB / 1.293 GB, free: 271 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003/1.07, allocations: 1.107 MB / 1.294 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003369/1.07, allocations: 0.5738 MB / 1.294 GB, free: 270 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/1.07, allocations: 0 / 1.294 GB, free: 270 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.07, allocations: 423.4 kB / 1.295 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/1.072, allocations: 1.389 MB / 1.296 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/1.073, allocations: 1.944 MB / 1.298 GB, free: 269 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/1.076, allocations: 2.024 MB / 1.3 GB, free: 269 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/1.076, allocations: 3.938 kB / 1.3 GB, free: 269 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007021/1.083, allocations: 4.579 MB / 1.305 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008827/1.084, allocations: 6.874 MB / 1.311 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/1.084, allocations: 14.88 kB / 1.311 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002333/1.087, allocations: 1.036 MB / 1.312 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/1.09, allocations: 0.6182 MB / 1.313 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/1.1, allocations: 9.449 MB / 1.322 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/1.103, allocations: 291.6 kB / 1.322 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/1.103, allocations: 116.5 kB / 1.322 GB, free: 259 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-06/1.103, allocations: 3.656 kB / 1.322 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00631/1.109, allocations: 4.315 MB / 1.327 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/1.109, allocations: 18.12 kB / 1.327 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/1.111, allocations: 0.8656 MB / 1.328 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/1.114, allocations: 0.6226 MB / 1.328 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008812/1.123, allocations: 9.057 MB / 1.337 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/1.125, allocations: 281.1 kB / 1.337 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/1.125, allocations: 117 kB / 1.337 GB, free: 252.7 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.000401/1.126, allocations: 155.6 kB / 1.338 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/1.126, allocations: 125.4 kB / 1.338 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00706/1.133, allocations: 4.215 MB / 1.342 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/1.133, allocations: 17.59 kB / 1.342 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.133, allocations: 14 kB / 1.342 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/1.133, allocations: 8.797 kB / 1.342 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/1.144, allocations: 7.428 MB / 1.349 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.144, allocations: 6.719 kB / 1.349 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/1.146, allocations: 432.2 kB / 1.349 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/1.148, allocations: 0.8804 MB / 1.35 GB, free: 247.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/1.149, allocations: 31.55 kB / 1.35 GB, free: 247.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009838/1.158, allocations: 8.834 MB / 1.359 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.158, allocations: 12.06 kB / 1.359 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005763/1.164, allocations: 4.194 MB / 1.363 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007803/1.165, allocations: 0.5146 MB / 1.364 GB, free: 239.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002749/1.165, allocations: 11.27 kB / 1.364 GB, free: 239.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/1.168, allocations: 254.5 kB / 1.364 GB, free: 239.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.168, allocations: 102.5 kB / 1.364 GB, free: 239.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/1.168, allocations: 74.17 kB / 1.364 GB, free: 239.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007739/1.169, allocations: 0.6446 MB / 1.365 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003492/1.172, allocations: 1.046 MB / 1.366 GB, free: 239.6 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.0002443/1.172, allocations: 133.2 kB / 1.366 GB, free: 239.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008017/1.181, allocations: 6.049 MB / 1.372 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.181, allocations: 2.781 kB / 1.372 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00259/1.183, allocations: 1.912 MB / 1.374 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000769/1.184, allocations: 123 kB / 1.374 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/1.198, allocations: 5.682 MB / 1.379 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/1.2, allocations: 2.431 MB / 1.382 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.9e-07/1.2, allocations: 0 / 1.382 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.05518/1.255, allocations: 51.33 MB / 1.432 GB, free: 205.4 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1)