Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") [: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.346/1.346, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.0009095/0.0009095, allocations: 181.2 kB / 366.3 MB, free: 1.984 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.016/1.016, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0007809/0.0007809, allocations: 92.17 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.682e-06/6.712e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3934, allocations: 116.3 MB / 0.9726 GB, free: 68.91 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1739/0.5674, allocations: 188.1 MB / 1.156 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.5676, allocations: 95.94 kB / 1.156 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.4918/1.059, allocations: 103.6 MB / 1.258 GB, free: 191.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.308e-05/1.06, allocations: 62.41 kB / 1.258 GB, free: 191.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.00466/1.064, allocations: 2.398 MB / 1.26 GB, free: 190.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/1.064, allocations: 9.344 kB / 1.26 GB, free: 190.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009711/1.074, allocations: 1.514 MB / 1.261 GB, free: 190.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/1.077, allocations: 1.68 MB / 1.263 GB, free: 189.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.044e-05/1.077, allocations: 97 kB / 1.263 GB, free: 189.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/1.077, allocations: 166.9 kB / 1.263 GB, free: 189.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005512/1.083, allocations: 4.07 MB / 1.267 GB, free: 189 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005833/1.088, allocations: 4.5 MB / 1.272 GB, free: 187.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.413e-05/1.089, allocations: 2.938 kB / 1.272 GB, free: 187.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003025/1.089, allocations: 1.594 kB / 1.272 GB, free: 187.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003646/1.089, allocations: 197.1 kB / 1.272 GB, free: 187.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01913/1.108, allocations: 22.49 MB / 1.294 GB, free: 170.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/1.11, allocations: 1.175 MB / 1.295 GB, free: 169.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/1.111, allocations: 1.173 MB / 1.296 GB, free: 169.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/1.111, allocations: 121 kB / 1.296 GB, free: 169.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/1.111, allocations: 54.17 kB / 1.296 GB, free: 169.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=116): time 3.026e-06/1.111, allocations: 0 / 1.296 GB, free: 169.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.01176/1.123, allocations: 7.212 MB / 1.303 GB, free: 165.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/1.123, allocations: 219.7 kB / 1.304 GB, free: 165.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/1.124, allocations: 0.914 MB / 1.304 GB, free: 165.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/1.124, allocations: 25.7 kB / 1.304 GB, free: 165.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000455/1.125, allocations: 1.181 MB / 1.306 GB, free: 164.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/1.125, allocations: 499.3 kB / 1.306 GB, free: 163.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/1.125, allocations: 0 / 1.306 GB, free: 163.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.125, allocations: 427.2 kB / 1.307 GB, free: 163.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/1.127, allocations: 1.305 MB / 1.308 GB, free: 163 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/1.129, allocations: 1.967 MB / 1.31 GB, free: 161.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/1.132, allocations: 1.932 MB / 1.312 GB, free: 160.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/1.132, allocations: 6 kB / 1.312 GB, free: 160.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.007212/1.139, allocations: 4.251 MB / 1.316 GB, free: 159.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001184/1.14, allocations: 8.601 MB / 1.324 GB, free: 150.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.14e-05/1.14, allocations: 21.69 kB / 1.324 GB, free: 150.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/1.142, allocations: 0.777 MB / 1.325 GB, free: 149.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/1.145, allocations: 0.6488 MB / 1.326 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009378/1.155, allocations: 11.76 MB / 1.337 GB, free: 137.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/1.157, allocations: 303.3 kB / 1.337 GB, free: 137 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/1.158, allocations: 116 kB / 1.337 GB, free: 136.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/1.158, allocations: 6.969 kB / 1.337 GB, free: 136.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006095/1.164, allocations: 3.988 MB / 1.341 GB, free: 132.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.161e-05/1.164, allocations: 24 kB / 1.341 GB, free: 132.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/1.165, allocations: 0.6774 MB / 1.342 GB, free: 132.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/1.168, allocations: 0.6552 MB / 1.343 GB, free: 131.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007659/1.176, allocations: 11.35 MB / 1.354 GB, free: 119.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/1.178, allocations: 294.5 kB / 1.354 GB, free: 119.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/1.179, allocations: 115.9 kB / 1.354 GB, free: 119.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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.000417/1.179, allocations: 172.2 kB / 1.354 GB, free: 119 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/1.179, allocations: 118.6 kB / 1.354 GB, free: 118.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006122/1.185, allocations: 3.624 MB / 1.358 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.185, allocations: 20 kB / 1.358 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/1.186, allocations: 8 kB / 1.358 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/1.186, allocations: 3.984 kB / 1.358 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/1.196, allocations: 6.792 MB / 1.365 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/1.196, allocations: 8 kB / 1.365 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/1.199, allocations: 420.1 kB / 1.365 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/1.2, allocations: 0.6398 MB / 1.366 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/1.2, allocations: 31.95 kB / 1.366 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008233/1.209, allocations: 11.15 MB / 1.377 GB, free: 95.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.209, allocations: 17.69 kB / 1.377 GB, free: 95.29 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00492/1.214, allocations: 3.661 MB / 1.38 GB, free: 91.36 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008167/1.215, allocations: 491.4 kB / 1.381 GB, free: 90.86 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/1.215, allocations: 11.98 kB / 1.381 GB, free: 90.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/1.217, allocations: 255.6 kB / 1.381 GB, free: 90.59 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.217, allocations: 88.73 kB / 1.381 GB, free: 90.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/1.218, allocations: 59.95 kB / 1.381 GB, free: 90.45 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0007968/1.218, allocations: 0.6981 MB / 1.382 GB, free: 89.75 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003658/1.222, allocations: 1.012 MB / 1.383 GB, free: 88.74 MB / 0.823 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): 95 * 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.000271/1.222, allocations: 144 kB / 1.383 GB, free: 88.59 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.007771/1.23, allocations: 6.145 MB / 1.389 GB, free: 82.34 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.23, allocations: 0 / 1.389 GB, free: 82.34 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002676/1.233, allocations: 2.073 MB / 1.391 GB, free: 80.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/1.234, allocations: 126.4 kB / 1.391 GB, free: 80.09 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/1.249, allocations: 5.527 MB / 1.396 GB, free: 74.45 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002722/1.252, allocations: 2.435 MB / 1.399 GB, free: 71.98 MB / 0.823 GB Notification: Performance of SimCode: time 6.21e-07/1.252, allocations: 0 / 1.399 GB, free: 71.98 MB / 0.823 GB Notification: Performance of Templates: time 0.0529/1.305, allocations: 47.25 MB / 1.445 GB, free: 24.99 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)