Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") [: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.328/1.328, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.0009138/0.0009138, allocations: 173.3 kB / 366.3 MB, free: 2.008 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.025/1.025, allocations: 205.2 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.0007687/0.0007687, allocations: 89.31 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.181e-06/6.221e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3962, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1779/0.5741, allocations: 192.5 MB / 1.161 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.5744, allocations: 100.5 kB / 1.161 GB, free: 3.852 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.5301/1.104, allocations: 119.6 MB / 1.277 GB, free: 174.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.899e-05/1.105, allocations: 63 kB / 1.278 GB, free: 174.8 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.004092/1.109, allocations: 2.464 MB / 1.28 GB, free: 173.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/1.109, allocations: 8.844 kB / 1.28 GB, free: 173.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/1.119, allocations: 1.65 MB / 1.282 GB, free: 172.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/1.122, allocations: 1.795 MB / 1.283 GB, free: 172.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/1.122, allocations: 97.25 kB / 1.283 GB, free: 172.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004172/1.123, allocations: 163.7 kB / 1.284 GB, free: 172.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005607/1.128, allocations: 4.231 MB / 1.288 GB, free: 171.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005745/1.134, allocations: 4.664 MB / 1.292 GB, free: 170.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-05/1.134, allocations: 0 / 1.292 GB, free: 170.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/1.134, allocations: 2.625 kB / 1.292 GB, free: 170.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003269/1.135, allocations: 241.3 kB / 1.292 GB, free: 170.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/1.153, allocations: 22.1 MB / 1.314 GB, free: 152.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/1.155, allocations: 1.631 MB / 1.316 GB, free: 150.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/1.156, allocations: 1.241 MB / 1.317 GB, free: 149.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/1.156, allocations: 117.9 kB / 1.317 GB, free: 149.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/1.156, allocations: 51.56 kB / 1.317 GB, free: 149.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=122): time 2.494e-06/1.156, allocations: 0 / 1.317 GB, free: 149.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=173): time 0.01325/1.169, allocations: 7.177 MB / 1.324 GB, free: 141.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/1.169, allocations: 73.39 kB / 1.324 GB, free: 141.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008989/1.17, allocations: 0.9815 MB / 1.325 GB, free: 140.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/1.17, allocations: 33.7 kB / 1.325 GB, free: 140.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/1.171, allocations: 1.196 MB / 1.326 GB, free: 139.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/1.171, allocations: 0.5658 MB / 1.327 GB, free: 139 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/1.171, allocations: 0 / 1.327 GB, free: 139 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.171, allocations: 451.5 kB / 1.327 GB, free: 138.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/1.173, allocations: 1.543 MB / 1.329 GB, free: 137 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/1.175, allocations: 2.25 MB / 1.331 GB, free: 134.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002999/1.178, allocations: 2.223 MB / 1.333 GB, free: 132.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.178, allocations: 4 kB / 1.333 GB, free: 132.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008381/1.186, allocations: 5.411 MB / 1.338 GB, free: 126.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001013/1.187, allocations: 8.859 MB / 1.347 GB, free: 117.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/1.187, allocations: 27.94 kB / 1.347 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003736/1.191, allocations: 1.419 MB / 1.348 GB, free: 115.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/1.194, allocations: 0.6552 MB / 1.349 GB, free: 115.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/1.208, allocations: 15.95 MB / 1.365 GB, free: 98.51 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/1.211, allocations: 307.3 kB / 1.365 GB, free: 98.21 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/1.212, allocations: 123.9 kB / 1.365 GB, free: 98.09 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-06/1.212, allocations: 8 kB / 1.365 GB, free: 98.08 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007886/1.22, allocations: 5.123 MB / 1.37 GB, free: 92.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/1.22, allocations: 24 kB / 1.37 GB, free: 92.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/1.223, allocations: 1.34 MB / 1.371 GB, free: 91.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002802/1.226, allocations: 0.6552 MB / 1.372 GB, free: 90.92 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/1.238, allocations: 15.38 MB / 1.387 GB, free: 74.87 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/1.241, allocations: 295.5 kB / 1.387 GB, free: 74.58 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/1.241, allocations: 123.9 kB / 1.388 GB, free: 74.46 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004325/1.242, allocations: 172.3 kB / 1.388 GB, free: 74.28 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/1.242, allocations: 138.3 kB / 1.388 GB, free: 74.14 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00829/1.25, allocations: 5.005 MB / 1.393 GB, free: 69.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.25, allocations: 16 kB / 1.393 GB, free: 69.08 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/1.25, allocations: 12 kB / 1.393 GB, free: 69.07 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/1.25, allocations: 11.91 kB / 1.393 GB, free: 69.06 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/1.261, allocations: 8.17 MB / 1.401 GB, free: 60.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/1.261, allocations: 4 kB / 1.401 GB, free: 60.72 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002163/1.264, allocations: 424.2 kB / 1.401 GB, free: 60.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/1.267, allocations: 1.188 MB / 1.402 GB, free: 59.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/1.267, allocations: 27.97 kB / 1.402 GB, free: 59.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/1.28, allocations: 15.22 MB / 1.417 GB, free: 43.18 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.28, allocations: 11.94 kB / 1.417 GB, free: 43.16 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006458/1.287, allocations: 4.488 MB / 1.422 GB, free: 38.42 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008967/1.288, allocations: 0.5499 MB / 1.422 GB, free: 37.85 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002898/1.288, allocations: 8 kB / 1.422 GB, free: 37.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/1.29, allocations: 295.4 kB / 1.422 GB, free: 37.55 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/1.29, allocations: 93.09 kB / 1.422 GB, free: 37.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.291, allocations: 63.97 kB / 1.423 GB, free: 37.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0007771/1.291, allocations: 0.7582 MB / 1.423 GB, free: 36.63 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003265/1.295, allocations: 1.148 MB / 1.424 GB, free: 35.48 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 (104): * Single equations (assignments): 98 * 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%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002553/1.295, allocations: 149.6 kB / 1.425 GB, free: 35.33 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00938/1.304, allocations: 7.462 MB / 1.432 GB, free: 27.76 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.304, allocations: 0 / 1.432 GB, free: 27.76 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003845/1.308, allocations: 2.579 MB / 1.434 GB, free: 25.12 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008848/1.309, allocations: 167.6 kB / 1.435 GB, free: 24.96 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/1.324, allocations: 6.092 MB / 1.44 GB, free: 18.76 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/1.326, allocations: 2.512 MB / 1.443 GB, free: 16.21 MB / 0.823 GB Notification: Performance of SimCode: time 5.2e-07/1.326, allocations: 3.938 kB / 1.443 GB, free: 16.21 MB / 0.823 GB Notification: Performance of Templates: time 0.07502/1.401, allocations: 58.48 MB / 1.5 GB, free: 5.906 MB / 0.8698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)