Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.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.Conversion.Examples.TransformerStepUpDY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.161/2.161, allocations: 253.1 MB / 260.4 MB, free: 7.652 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.001625/0.001624, allocations: 173.3 kB / 319.6 MB, free: 3.32 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 2.178/2.178, 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.002328/0.002327, allocations: 90.7 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.368e-06/9.709e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2172, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7348/0.9521, allocations: 181.3 MB / 1.065 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.9524, allocations: 97.23 kB / 1.065 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.4641/1.417, allocations: 104.8 MB / 1.167 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001651/1.417, allocations: 60 kB / 1.168 GB, free: 7.73 MB / 0.7761 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.01181/1.429, allocations: 2.464 MB / 1.17 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/1.429, allocations: 12.03 kB / 1.17 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02207/1.451, allocations: 1.522 MB / 1.171 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006843/1.458, allocations: 1.725 MB / 1.173 GB, free: 1.906 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/1.458, allocations: 100 kB / 1.173 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/1.46, allocations: 172 kB / 1.173 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0161/1.476, allocations: 4.198 MB / 1.178 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0184/1.494, allocations: 4.624 MB / 1.182 GB, free: 8.727 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/1.494, allocations: 4 kB / 1.182 GB, free: 8.723 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009178/1.495, allocations: 3.938 kB / 1.182 GB, free: 8.719 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005386/1.496, allocations: 193 kB / 1.182 GB, free: 8.527 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.051/1.547, allocations: 22.52 MB / 1.204 GB, free: 15.95 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/1.55, allocations: 1.214 MB / 1.205 GB, free: 14.68 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/1.554, allocations: 1.215 MB / 1.207 GB, free: 13.44 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/1.554, allocations: 118 kB / 1.207 GB, free: 13.31 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/1.554, allocations: 59.55 kB / 1.207 GB, free: 13.24 MB / 0.823 GB Notification: Performance of pre-optimization done (n=123): time 6.482e-06/1.554, allocations: 0 / 1.207 GB, free: 13.24 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.02692/1.581, allocations: 7.421 MB / 1.214 GB, free: 5.777 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/1.581, allocations: 226.9 kB / 1.214 GB, free: 5.508 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/1.583, allocations: 0.933 MB / 1.215 GB, free: 4.57 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003004/1.584, allocations: 25.7 kB / 1.215 GB, free: 4.539 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/1.585, allocations: 1.203 MB / 1.216 GB, free: 3.316 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008004/1.585, allocations: 0.5083 MB / 1.217 GB, free: 2.801 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/1.586, allocations: 0 / 1.217 GB, free: 2.801 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003516/1.586, allocations: 423.2 kB / 1.217 GB, free: 2.379 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003773/1.59, allocations: 1.355 MB / 1.219 GB, free: 1.02 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0044/1.594, allocations: 2.013 MB / 1.221 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006845/1.601, allocations: 1.992 MB / 1.222 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/1.601, allocations: 8 kB / 1.222 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01531/1.617, allocations: 4.371 MB / 1.227 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.004283/1.621, allocations: 8.43 MB / 1.235 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-05/1.621, allocations: 31.89 kB / 1.235 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004366/1.625, allocations: 0.7661 MB / 1.236 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008299/1.634, allocations: 0.6591 MB / 1.236 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02729/1.661, allocations: 11.72 MB / 1.248 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006388/1.667, allocations: 303.2 kB / 1.248 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007108/1.668, allocations: 116 kB / 1.248 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.668, allocations: 4 kB / 1.248 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01857/1.687, allocations: 4.101 MB / 1.252 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/1.687, allocations: 20 kB / 1.252 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004736/1.692, allocations: 0.6693 MB / 1.253 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009896/1.702, allocations: 0.663 MB / 1.254 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4409/2.143, allocations: 11.31 MB / 1.265 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005923/2.149, allocations: 292.5 kB / 1.265 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006297/2.149, allocations: 109.7 kB / 1.265 GB, free: 214.9 MB / 0.8698 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.0007822/2.15, allocations: 172.8 kB / 1.265 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000612/2.151, allocations: 125.6 kB / 1.265 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/2.164, allocations: 3.859 MB / 1.269 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/2.164, allocations: 17.25 kB / 1.269 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/2.164, allocations: 10 kB / 1.269 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/2.164, allocations: 6.984 kB / 1.269 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/2.183, allocations: 6.791 MB / 1.276 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/2.183, allocations: 11.38 kB / 1.276 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005334/2.188, allocations: 430 kB / 1.276 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003268/2.192, allocations: 0.6205 MB / 1.277 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004198/2.192, allocations: 38.7 kB / 1.277 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/2.208, allocations: 11.12 MB / 1.288 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/2.208, allocations: 12.19 kB / 1.288 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009605/2.218, allocations: 3.706 MB / 1.291 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/2.219, allocations: 0.4937 MB / 1.292 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/2.22, allocations: 13.2 kB / 1.292 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004948/2.225, allocations: 254.6 kB / 1.292 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/2.225, allocations: 96.12 kB / 1.292 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002325/2.225, allocations: 65.33 kB / 1.292 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001447/2.227, allocations: 0.7194 MB / 1.293 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005426/2.232, allocations: 1.045 MB / 1.294 GB, free: 205.3 MB / 0.8698 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.000421/2.233, allocations: 140.7 kB / 1.294 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01666/2.249, allocations: 6.309 MB / 1.3 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/2.249, allocations: 2.594 kB / 1.3 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005976/2.255, allocations: 2.094 MB / 1.302 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/2.257, allocations: 126.5 kB / 1.302 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0312/2.288, allocations: 5.636 MB / 1.308 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005915/2.294, allocations: 2.485 MB / 1.31 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.243e-06/2.294, allocations: 0 / 1.31 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.1394/2.434, allocations: 48.33 MB / 1.357 GB, free: 199.4 MB / 0.8698 GB