Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [: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.228/2.228, 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.00162/0.001619, allocations: 189.2 kB / 319.6 MB, free: 3.301 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.901/1.901, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001865/0.001865, allocations: 91.72 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.129e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2267, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6691/0.8959, allocations: 161.3 MB / 1.046 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/0.8963, allocations: 90.69 kB / 1.046 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.3968/1.293, allocations: 85.2 MB / 1.129 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001672/1.293, allocations: 55.98 kB / 1.129 GB, free: 15.39 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.00839/1.302, allocations: 2.151 MB / 1.131 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/1.302, allocations: 12.53 kB / 1.131 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007551/1.309, allocations: 0.676 MB / 1.132 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005589/1.315, allocations: 1.539 MB / 1.133 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/1.315, allocations: 80 kB / 1.133 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/1.316, allocations: 139.9 kB / 1.133 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009888/1.326, allocations: 2.794 MB / 1.136 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/1.339, allocations: 3.554 MB / 1.14 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.595e-05/1.339, allocations: 4 kB / 1.14 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/1.34, allocations: 7.906 kB / 1.14 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/1.34, allocations: 164.5 kB / 1.14 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03376/1.374, allocations: 15.99 MB / 1.155 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004126/1.378, allocations: 1.066 MB / 1.156 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/1.381, allocations: 0.6135 MB / 1.157 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/1.381, allocations: 93.75 kB / 1.157 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/1.381, allocations: 47.16 kB / 1.157 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=72): time 5.481e-06/1.381, allocations: 0 / 1.157 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76): time 0.009312/1.391, allocations: 2.823 MB / 1.16 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/1.391, allocations: 111.5 kB / 1.16 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/1.393, allocations: 0.848 MB / 1.161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/1.393, allocations: 25.7 kB / 1.161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008104/1.394, allocations: 1.005 MB / 1.162 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004128/1.394, allocations: 260.2 kB / 1.162 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/1.394, allocations: 0 / 1.162 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002664/1.395, allocations: 422.6 kB / 1.163 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/1.396, allocations: 0.6325 MB / 1.163 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/1.398, allocations: 1.165 MB / 1.164 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003572/1.402, allocations: 1.002 MB / 1.165 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.831e-05/1.402, allocations: 4 kB / 1.165 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.007349/1.409, allocations: 2.053 MB / 1.167 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/1.41, allocations: 4 kB / 1.167 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.506e-05/1.41, allocations: 16 kB / 1.167 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008351/1.41, allocations: 167.7 kB / 1.167 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/1.413, allocations: 331.5 kB / 1.168 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.197e-05/1.413, allocations: 39.86 kB / 1.168 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/1.415, allocations: 87.73 kB / 1.168 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003009/1.416, allocations: 67.98 kB / 1.168 GB, free: 5.266 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003625/1.416, allocations: 156.4 kB / 1.168 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/1.417, allocations: 110.7 kB / 1.168 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004573/1.421, allocations: 1.353 MB / 1.17 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/1.421, allocations: 8 kB / 1.17 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/1.421, allocations: 4 kB / 1.17 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/1.421, allocations: 3.984 kB / 1.17 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/1.432, allocations: 3.367 MB / 1.173 GB, free: 108 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.432, allocations: 12.09 kB / 1.173 GB, free: 96 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.433, allocations: 159.8 kB / 1.173 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007327/1.434, allocations: 143.3 kB / 1.173 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.434, allocations: 4 kB / 1.173 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/1.434, allocations: 4 kB / 1.173 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/1.434, allocations: 8 kB / 1.173 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004299/1.439, allocations: 1.695 MB / 1.175 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.44, allocations: 299.7 kB / 1.175 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/1.44, allocations: 7.984 kB / 1.175 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.441, allocations: 51.94 kB / 1.175 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/1.441, allocations: 48.53 kB / 1.175 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.781e-05/1.441, allocations: 20 kB / 1.175 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.001495/1.443, allocations: 0.64 MB / 1.176 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00238/1.445, allocations: 383.8 kB / 1.176 GB, free: 12.49 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003316/1.446, allocations: 111.2 kB / 1.176 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004074/1.45, allocations: 1.751 MB / 1.178 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.45, allocations: 1.562 kB / 1.178 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/1.452, allocations: 0.9086 MB / 1.179 GB, free: 9.543 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/1.454, allocations: 203.1 kB / 1.179 GB, free: 9.34 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.465, allocations: 3.101 MB / 1.182 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00444/1.469, allocations: 2.049 MB / 1.184 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of SimCode: time 1.894e-06/1.469, allocations: 0 / 1.184 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of Templates: time 0.07317/1.543, allocations: 14.54 MB / 1.198 GB, free: 5.652 MB / 0.8073 GB