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.TransformerStepUpDY.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.TransformerStepUpDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.31/1.31, 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.0009724/0.0009724, allocations: 177.3 kB / 361.1 MB, free: 7.113 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.002/1.002, 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.0007597/0.0007597, allocations: 86.88 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.632e-06/6.712e-06, allocations: 0 / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4038, allocations: 115.3 MB / 0.9637 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.574, allocations: 186.7 MB / 1.146 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.5743, allocations: 97.3 kB / 1.146 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.24/0.8143, allocations: 104.8 MB / 1.248 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001002/0.8145, allocations: 63.98 kB / 1.249 GB, free: 7.555 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.00622/0.8207, allocations: 2.463 MB / 1.251 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.8207, allocations: 11.97 kB / 1.251 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.8317, allocations: 1.522 MB / 1.252 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.8351, allocations: 1.728 MB / 1.254 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.143e-05/0.8352, allocations: 99.98 kB / 1.254 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004598/0.8357, allocations: 172 kB / 1.254 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2197/1.055, allocations: 4.191 MB / 1.258 GB, free: 284.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005912/1.061, allocations: 4.625 MB / 1.263 GB, free: 284.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/1.061, allocations: 3.562 kB / 1.263 GB, free: 284.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003043/1.062, allocations: 3.812 kB / 1.263 GB, free: 284.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/1.062, allocations: 195.6 kB / 1.263 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/1.08, allocations: 22.51 MB / 1.285 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/1.081, allocations: 1.205 MB / 1.286 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/1.082, allocations: 1.22 MB / 1.288 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/1.082, allocations: 122.9 kB / 1.288 GB, free: 272 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/1.082, allocations: 54.78 kB / 1.288 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=123): time 3.897e-06/1.082, allocations: 3.562 kB / 1.288 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.01169/1.094, allocations: 7.42 MB / 1.295 GB, free: 270 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/1.094, allocations: 225.2 kB / 1.295 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008543/1.095, allocations: 0.9291 MB / 1.296 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/1.095, allocations: 25.7 kB / 1.296 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/1.095, allocations: 1.208 MB / 1.297 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000323/1.096, allocations: 0.5094 MB / 1.298 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/1.096, allocations: 0 / 1.298 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.096, allocations: 429.7 kB / 1.298 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/1.097, allocations: 1.354 MB / 1.299 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/1.099, allocations: 2.009 MB / 1.301 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/1.102, allocations: 1.999 MB / 1.303 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/1.102, allocations: 5.469 kB / 1.303 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006729/1.109, allocations: 4.373 MB / 1.308 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001098/1.11, allocations: 8.424 MB / 1.316 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/1.11, allocations: 27.92 kB / 1.316 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/1.112, allocations: 0.7674 MB / 1.317 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003014/1.115, allocations: 0.6648 MB / 1.317 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009522/1.125, allocations: 11.72 MB / 1.329 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/1.127, allocations: 311.5 kB / 1.329 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/1.128, allocations: 114.6 kB / 1.329 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/1.128, allocations: 5.781 kB / 1.329 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006125/1.134, allocations: 4.098 MB / 1.333 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/1.134, allocations: 21.78 kB / 1.333 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/1.135, allocations: 0.6647 MB / 1.334 GB, free: 250.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/1.138, allocations: 0.6649 MB / 1.335 GB, free: 250.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007833/1.146, allocations: 11.31 MB / 1.346 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/1.149, allocations: 290.2 kB / 1.346 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/1.149, allocations: 118.8 kB / 1.346 GB, free: 241.3 MB / 0.8542 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.0003963/1.149, allocations: 162.9 kB / 1.346 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/1.15, allocations: 132.9 kB / 1.346 GB, free: 241.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006421/1.156, allocations: 3.856 MB / 1.35 GB, free: 239.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/1.156, allocations: 20 kB / 1.35 GB, free: 239.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.156, allocations: 8.281 kB / 1.35 GB, free: 239.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.156, allocations: 13.53 kB / 1.35 GB, free: 239.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009877/1.166, allocations: 6.8 MB / 1.357 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.166, allocations: 6.438 kB / 1.357 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/1.168, allocations: 433.5 kB / 1.357 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/1.17, allocations: 0.625 MB / 1.358 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/1.17, allocations: 31.12 kB / 1.358 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008749/1.179, allocations: 11.11 MB / 1.369 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.179, allocations: 11.5 kB / 1.369 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005268/1.184, allocations: 3.712 MB / 1.372 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007587/1.185, allocations: 0.4897 MB / 1.373 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/1.185, allocations: 12.12 kB / 1.373 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/1.188, allocations: 260.8 kB / 1.373 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/1.188, allocations: 93.88 kB / 1.373 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.188, allocations: 62.64 kB / 1.373 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008996/1.189, allocations: 0.7198 MB / 1.374 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00355/1.192, allocations: 1.043 MB / 1.375 GB, free: 224.9 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 (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.0002481/1.193, allocations: 148 kB / 1.375 GB, free: 224.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008341/1.201, allocations: 6.317 MB / 1.381 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.201, allocations: 1.438 kB / 1.381 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002709/1.204, allocations: 2.098 MB / 1.383 GB, free: 220.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007963/1.204, allocations: 124.1 kB / 1.383 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/1.219, allocations: 5.626 MB / 1.389 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002377/1.221, allocations: 2.489 MB / 1.391 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/1.221, allocations: 0 / 1.391 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.05372/1.275, allocations: 48.32 MB / 1.438 GB, free: 196.3 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1)