Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.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.TransformerStepUpDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY") [: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.59 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.000994/0.000994, allocations: 181.3 kB / 366.3 MB, free: 1.941 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.9899/0.9899, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.000778/0.000778, allocations: 87.42 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.631e-06/5.671e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3869, allocations: 116.3 MB / 0.9726 GB, free: 68.69 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.5547, allocations: 187.7 MB / 1.156 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.5549, allocations: 95.92 kB / 1.156 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.4918/1.047, allocations: 104.8 MB / 1.258 GB, free: 197.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.084e-05/1.047, allocations: 60.78 kB / 1.258 GB, free: 197.8 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.004261/1.051, allocations: 2.47 MB / 1.261 GB, free: 196.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/1.051, allocations: 7.031 kB / 1.261 GB, free: 196.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009485/1.061, allocations: 1.518 MB / 1.262 GB, free: 196.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/1.063, allocations: 1.722 MB / 1.264 GB, free: 196.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/1.063, allocations: 102 kB / 1.264 GB, free: 196.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003903/1.064, allocations: 171.2 kB / 1.264 GB, free: 196.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005324/1.069, allocations: 4.197 MB / 1.268 GB, free: 196.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0055/1.075, allocations: 4.628 MB / 1.273 GB, free: 195.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/1.075, allocations: 0 / 1.273 GB, free: 195.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/1.075, allocations: 3.781 kB / 1.273 GB, free: 195.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/1.075, allocations: 198.1 kB / 1.273 GB, free: 195.9 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/1.092, allocations: 22.53 MB / 1.295 GB, free: 181.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.093, allocations: 1.209 MB / 1.296 GB, free: 180.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/1.094, allocations: 1.213 MB / 1.297 GB, free: 180 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/1.094, allocations: 124.4 kB / 1.297 GB, free: 179.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/1.094, allocations: 53.84 kB / 1.298 GB, free: 179.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=123): time 3.286e-06/1.094, allocations: 0 / 1.298 GB, free: 179.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=153): time 0.01132/1.106, allocations: 7.411 MB / 1.305 GB, free: 176.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/1.106, allocations: 232.9 kB / 1.305 GB, free: 176.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009776/1.107, allocations: 0.9277 MB / 1.306 GB, free: 175.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/1.107, allocations: 30.08 kB / 1.306 GB, free: 175.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/1.107, allocations: 1.205 MB / 1.307 GB, free: 174.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/1.108, allocations: 0.5061 MB / 1.308 GB, free: 174.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/1.108, allocations: 0.5938 kB / 1.308 GB, free: 174.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.108, allocations: 426.2 kB / 1.308 GB, free: 174 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/1.11, allocations: 1.359 MB / 1.309 GB, free: 173.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/1.112, allocations: 2.017 MB / 1.311 GB, free: 172.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/1.115, allocations: 1.989 MB / 1.313 GB, free: 171.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/1.115, allocations: 5.188 kB / 1.313 GB, free: 171.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006633/1.121, allocations: 4.375 MB / 1.318 GB, free: 170 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001016/1.122, allocations: 8.431 MB / 1.326 GB, free: 161 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/1.122, allocations: 20.22 kB / 1.326 GB, free: 161 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/1.124, allocations: 0.7728 MB / 1.327 GB, free: 160.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/1.127, allocations: 0.6571 MB / 1.327 GB, free: 160.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009115/1.136, allocations: 11.72 MB / 1.339 GB, free: 151.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/1.139, allocations: 304.6 kB / 1.339 GB, free: 151.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/1.139, allocations: 117.4 kB / 1.339 GB, free: 151.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-06/1.139, allocations: 5.812 kB / 1.339 GB, free: 151.6 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006099/1.145, allocations: 4.1 MB / 1.343 GB, free: 150.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/1.145, allocations: 25.69 kB / 1.343 GB, free: 150.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/1.147, allocations: 0.6629 MB / 1.344 GB, free: 150 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/1.15, allocations: 0.6638 MB / 1.344 GB, free: 150 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007721/1.158, allocations: 11.32 MB / 1.355 GB, free: 140.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/1.16, allocations: 285.9 kB / 1.356 GB, free: 140.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/1.16, allocations: 118.2 kB / 1.356 GB, free: 140.9 MB / 0.8386 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.0004124/1.161, allocations: 178.4 kB / 1.356 GB, free: 140.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/1.161, allocations: 119.4 kB / 1.356 GB, free: 140.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006333/1.167, allocations: 3.859 MB / 1.36 GB, free: 138.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/1.167, allocations: 16 kB / 1.36 GB, free: 138.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.167, allocations: 8 kB / 1.36 GB, free: 138.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/1.167, allocations: 11.69 kB / 1.36 GB, free: 138.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00898/1.176, allocations: 6.812 MB / 1.367 GB, free: 132.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/1.177, allocations: 8.656 kB / 1.367 GB, free: 132.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/1.179, allocations: 425.9 kB / 1.367 GB, free: 132 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/1.18, allocations: 0.6195 MB / 1.368 GB, free: 131.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/1.181, allocations: 35.3 kB / 1.368 GB, free: 131.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008244/1.189, allocations: 11.13 MB / 1.378 GB, free: 120.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.189, allocations: 15.41 kB / 1.378 GB, free: 120.4 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004707/1.194, allocations: 3.701 MB / 1.382 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007267/1.194, allocations: 0.4895 MB / 1.383 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/1.195, allocations: 11.28 kB / 1.383 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/1.197, allocations: 258 kB / 1.383 GB, free: 116.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.197, allocations: 95.22 kB / 1.383 GB, free: 116.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/1.197, allocations: 59.53 kB / 1.383 GB, free: 116.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007158/1.198, allocations: 0.7239 MB / 1.384 GB, free: 115.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003147/1.201, allocations: 1.044 MB / 1.385 GB, free: 114.5 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 (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.0002315/1.201, allocations: 149.2 kB / 1.385 GB, free: 114.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007422/1.209, allocations: 6.308 MB / 1.391 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.209, allocations: 0 / 1.391 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00258/1.211, allocations: 2.1 MB / 1.393 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/1.212, allocations: 127.3 kB / 1.393 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/1.226, allocations: 5.631 MB / 1.399 GB, free: 101.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002394/1.228, allocations: 2.488 MB / 1.401 GB, free: 99.42 MB / 0.8386 GB Notification: Performance of SimCode: time 6.22e-07/1.228, allocations: 3.828 kB / 1.401 GB, free: 99.42 MB / 0.8386 GB Notification: Performance of Templates: time 0.05176/1.28, allocations: 48.33 MB / 1.448 GB, free: 51.48 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1)