Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.334/1.334, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.0009405/0.0009405, allocations: 181.3 kB / 366.3 MB, free: 1.992 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.022/1.022, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0007251/0.0007252, allocations: 84.44 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.091e-06/6.121e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3916, allocations: 116.3 MB / 0.9726 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.17/0.5616, allocations: 187.7 MB / 1.156 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.5618, allocations: 87.94 kB / 1.156 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.4863/1.048, allocations: 101.2 MB / 1.255 GB, free: 197.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.616e-05/1.048, allocations: 57.12 kB / 1.255 GB, free: 197.6 MB / 0.8386 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.003493/1.052, allocations: 2.375 MB / 1.257 GB, free: 196.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/1.052, allocations: 11.12 kB / 1.257 GB, free: 196.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009266/1.061, allocations: 1.508 MB / 1.259 GB, free: 196.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/1.063, allocations: 1.664 MB / 1.26 GB, free: 196 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/1.064, allocations: 94.69 kB / 1.26 GB, free: 196 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003669/1.064, allocations: 165.7 kB / 1.261 GB, free: 196 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004887/1.069, allocations: 4.077 MB / 1.265 GB, free: 196 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005167/1.074, allocations: 4.431 MB / 1.269 GB, free: 195.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.006e-05/1.074, allocations: 2.25 kB / 1.269 GB, free: 195.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/1.074, allocations: 6.656 kB / 1.269 GB, free: 195.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002021/1.075, allocations: 189.6 kB / 1.269 GB, free: 195.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/1.091, allocations: 22.15 MB / 1.291 GB, free: 182 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/1.092, allocations: 1.804 MB / 1.292 GB, free: 181.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/1.094, allocations: 1.417 MB / 1.294 GB, free: 180.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/1.094, allocations: 120.5 kB / 1.294 GB, free: 180.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/1.094, allocations: 61.84 kB / 1.294 GB, free: 180.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=132): time 3.316e-06/1.094, allocations: 3.812 kB / 1.294 GB, free: 180.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=174): time 0.01149/1.106, allocations: 7.768 MB / 1.302 GB, free: 177 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/1.106, allocations: 237.3 kB / 1.302 GB, free: 176.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/1.106, allocations: 0.829 MB / 1.303 GB, free: 176.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/1.106, allocations: 25.7 kB / 1.303 GB, free: 176.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/1.107, allocations: 1.107 MB / 1.304 GB, free: 175.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003218/1.107, allocations: 0.566 MB / 1.304 GB, free: 175.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/1.107, allocations: 0 / 1.304 GB, free: 175.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.107, allocations: 433.4 kB / 1.305 GB, free: 174.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/1.109, allocations: 1.381 MB / 1.306 GB, free: 174.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/1.112, allocations: 1.951 MB / 1.308 GB, free: 172.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/1.115, allocations: 2.013 MB / 1.31 GB, free: 172.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.619e-06/1.115, allocations: 4.812 kB / 1.31 GB, free: 172.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007087/1.122, allocations: 4.584 MB / 1.314 GB, free: 170.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009413/1.123, allocations: 6.863 MB / 1.321 GB, free: 163.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/1.123, allocations: 20.75 kB / 1.321 GB, free: 163.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002287/1.125, allocations: 1.02 MB / 1.322 GB, free: 163.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/1.128, allocations: 0.6231 MB / 1.323 GB, free: 163.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/1.138, allocations: 9.418 MB / 1.332 GB, free: 157.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/1.141, allocations: 295.4 kB / 1.332 GB, free: 157.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/1.141, allocations: 107.4 kB / 1.332 GB, free: 157.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/1.141, allocations: 6.438 kB / 1.332 GB, free: 157.8 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006546/1.148, allocations: 4.31 MB / 1.337 GB, free: 156.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/1.148, allocations: 19.28 kB / 1.337 GB, free: 156.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/1.15, allocations: 0.8689 MB / 1.337 GB, free: 156.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/1.153, allocations: 0.6218 MB / 1.338 GB, free: 156.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009128/1.162, allocations: 9.049 MB / 1.347 GB, free: 151 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/1.164, allocations: 286.5 kB / 1.347 GB, free: 150.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/1.165, allocations: 107 kB / 1.347 GB, free: 150.7 MB / 0.8386 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.0005141/1.165, allocations: 161.9 kB / 1.347 GB, free: 150.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/1.166, allocations: 122.5 kB / 1.347 GB, free: 150.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006739/1.172, allocations: 4.22 MB / 1.352 GB, free: 147 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/1.172, allocations: 23.8 kB / 1.352 GB, free: 147 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.172, allocations: 12 kB / 1.352 GB, free: 147 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.172, allocations: 7.453 kB / 1.352 GB, free: 147 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009601/1.182, allocations: 7.434 MB / 1.359 GB, free: 140.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.182, allocations: 8.094 kB / 1.359 GB, free: 140.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002246/1.184, allocations: 423.7 kB / 1.359 GB, free: 140.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/1.186, allocations: 0.8832 MB / 1.36 GB, free: 139.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.186, allocations: 24.34 kB / 1.36 GB, free: 139.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009368/1.196, allocations: 8.851 MB / 1.369 GB, free: 131.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/1.196, allocations: 11.94 kB / 1.369 GB, free: 131.5 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005157/1.201, allocations: 4.174 MB / 1.373 GB, free: 127.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007238/1.202, allocations: 0.5114 MB / 1.373 GB, free: 127.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/1.202, allocations: 8.984 kB / 1.373 GB, free: 127.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/1.204, allocations: 264.7 kB / 1.374 GB, free: 127 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/1.204, allocations: 98.45 kB / 1.374 GB, free: 126.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.204, allocations: 67.81 kB / 1.374 GB, free: 126.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0006232/1.205, allocations: 0.6428 MB / 1.374 GB, free: 126.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002966/1.208, allocations: 1.046 MB / 1.376 GB, free: 125.3 MB / 0.8386 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.0002376/1.208, allocations: 145.7 kB / 1.376 GB, free: 125.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.008021/1.216, allocations: 6.045 MB / 1.382 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.216, allocations: 1.625 kB / 1.382 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002584/1.219, allocations: 1.903 MB / 1.383 GB, free: 118 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008207/1.22, allocations: 112 kB / 1.384 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/1.234, allocations: 5.71 MB / 1.389 GB, free: 113 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00234/1.236, allocations: 2.433 MB / 1.391 GB, free: 110.8 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/1.236, allocations: 0 / 1.391 GB, free: 110.8 MB / 0.8386 GB Notification: Performance of Templates: time 0.0514/1.288, allocations: 51.31 MB / 1.442 GB, free: 60.05 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1)