Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.134/2.134, allocations: 253.1 MB / 260.4 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001635/0.001634, allocations: 185.2 kB / 319.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 85.44 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.003e-05/1.027e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1977, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7901/0.9878, allocations: 185.5 MB / 1.069 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005357/0.9884, allocations: 95.69 kB / 1.069 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2596/1.248, allocations: 63 MB / 1.131 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001671/1.248, allocations: 32 kB / 1.131 GB, free: 13.65 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.006531/1.255, allocations: 1.562 MB / 1.132 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/1.255, allocations: 12.03 kB / 1.132 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004967/1.26, allocations: 441.6 kB / 1.133 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00396/1.264, allocations: 1.143 MB / 1.134 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.856e-05/1.264, allocations: 48 kB / 1.134 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/1.264, allocations: 92 kB / 1.134 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006252/1.271, allocations: 1.834 MB / 1.136 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008216/1.279, allocations: 2.284 MB / 1.138 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.907e-05/1.279, allocations: 4 kB / 1.138 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002899/1.279, allocations: 4 kB / 1.138 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/1.28, allocations: 90.97 kB / 1.138 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02268/1.302, allocations: 10.18 MB / 1.148 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/1.304, allocations: 0.5179 MB / 1.149 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.305, allocations: 380.5 kB / 1.149 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/1.305, allocations: 89.09 kB / 1.149 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/1.305, allocations: 42.47 kB / 1.149 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=36): time 2.375e-06/1.305, allocations: 0 / 1.149 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of matching and sorting (n=52): time 0.01637/1.321, allocations: 3.016 MB / 1.152 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/1.322, allocations: 89.53 kB / 1.152 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/1.323, allocations: 0.7374 MB / 1.153 GB, free: 5.977 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/1.324, allocations: 25.7 kB / 1.153 GB, free: 5.945 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006679/1.324, allocations: 0.6912 MB / 1.154 GB, free: 5.242 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002973/1.325, allocations: 185.3 kB / 1.154 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/1.325, allocations: 0 / 1.154 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003119/1.325, allocations: 386.8 kB / 1.154 GB, free: 4.672 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/1.327, allocations: 0.6032 MB / 1.155 GB, free: 4.066 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/1.329, allocations: 0.9702 MB / 1.156 GB, free: 2.934 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/1.332, allocations: 0.8562 MB / 1.156 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/1.332, allocations: 0 / 1.156 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01278/1.344, allocations: 2.478 MB / 1.159 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002329/1.347, allocations: 4.525 MB / 1.163 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.348e-05/1.347, allocations: 12 kB / 1.163 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008982/1.356, allocations: 0.9437 MB / 1.164 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/1.358, allocations: 215.6 kB / 1.164 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/1.373, allocations: 6.385 MB / 1.171 GB, free: 2.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/1.375, allocations: 111.7 kB / 1.171 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/1.375, allocations: 44 kB / 1.171 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.375, allocations: 4 kB / 1.171 GB, free: 2.691 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004224/1.38, allocations: 1.311 MB / 1.172 GB, free: 1.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.041e-05/1.38, allocations: 12 kB / 1.172 GB, free: 1.367 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/1.38, allocations: 16 kB / 1.172 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/1.382, allocations: 267.8 kB / 1.172 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.132e-05/1.382, allocations: 23.92 kB / 1.172 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/1.383, allocations: 75.83 kB / 1.172 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/1.384, allocations: 47.98 kB / 1.173 GB, free: 0.9453 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004153/1.384, allocations: 136.6 kB / 1.173 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/1.384, allocations: 75.06 kB / 1.173 GB, free: 0.7305 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/1.396, allocations: 2.172 MB / 1.175 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/1.396, allocations: 8 kB / 1.175 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.396, allocations: 0 / 1.175 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/1.396, allocations: 3.984 kB / 1.175 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.413, allocations: 3.776 MB / 1.179 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/1.413, allocations: 8.062 kB / 1.179 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008844/1.414, allocations: 87.88 kB / 1.179 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009934/1.424, allocations: 1.217 MB / 1.18 GB, free: 9.316 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/1.424, allocations: 4 kB / 1.18 GB, free: 9.312 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02136/1.445, allocations: 8.735 MB / 1.188 GB, free: 120 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.418e-05/1.445, allocations: 0 / 1.188 GB, free: 120 kB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0186/1.464, allocations: 2.232 MB / 1.191 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1.465, allocations: 276.1 kB / 1.191 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003628/1.466, allocations: 4 kB / 1.191 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003004/1.469, allocations: 99.84 kB / 1.191 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/1.469, allocations: 39.86 kB / 1.191 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.469, allocations: 16 kB / 1.191 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.001742/1.471, allocations: 0.5732 MB / 1.192 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002989/1.474, allocations: 0.539 MB / 1.192 GB, free: 12.23 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005021/1.475, allocations: 173.3 kB / 1.192 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006764/1.481, allocations: 2.352 MB / 1.195 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.482, allocations: 5.125 kB / 1.195 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003118/1.485, allocations: 1.112 MB / 1.196 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/1.486, allocations: 182.4 kB / 1.196 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008536/1.495, allocations: 2.431 MB / 1.198 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002825/1.498, allocations: 1.696 MB / 1.2 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of SimCode: time 1.492e-06/1.498, allocations: 0 / 1.2 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of Templates: time 0.0683/1.566, allocations: 22.64 MB / 1.222 GB, free: 13.58 MB / 0.8386 GB