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.TransformerFull.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.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.287/2.287, allocations: 253.1 MB / 260.4 MB, free: 7.574 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.001746/0.001745, allocations: 181.2 kB / 319.6 MB, free: 3.328 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.909/1.909, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001346/0.001346, allocations: 84.84 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.14e-05/1.156e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2223, allocations: 106.2 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8207/1.043, allocations: 186.1 MB / 1.07 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/1.043, allocations: 92.19 kB / 1.07 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.5407/1.584, allocations: 119.6 MB / 1.187 GB, free: 3.926 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001878/1.584, allocations: 59.94 kB / 1.187 GB, free: 3.867 MB / 0.7917 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.012/1.596, allocations: 2.47 MB / 1.189 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.596, allocations: 8.031 kB / 1.189 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02397/1.62, allocations: 1.655 MB / 1.191 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007196/1.628, allocations: 1.794 MB / 1.193 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/1.628, allocations: 92 kB / 1.193 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00165/1.63, allocations: 168 kB / 1.193 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01627/1.646, allocations: 4.229 MB / 1.197 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02403/1.67, allocations: 4.66 MB / 1.201 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/1.67, allocations: 3.906 kB / 1.201 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001338/1.672, allocations: 4 kB / 1.201 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001041/1.673, allocations: 249.9 kB / 1.202 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06464/1.737, allocations: 22.09 MB / 1.223 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004895/1.742, allocations: 1.612 MB / 1.225 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003931/1.746, allocations: 1.249 MB / 1.226 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/1.747, allocations: 114.1 kB / 1.226 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.74e-05/1.747, allocations: 55.45 kB / 1.226 GB, free: 9.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=122): time 4.609e-06/1.747, allocations: 0 / 1.226 GB, free: 9.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=173): time 0.03445/1.781, allocations: 7.176 MB / 1.233 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/1.781, allocations: 73.41 kB / 1.233 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/1.784, allocations: 0.9893 MB / 1.234 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0006239/1.785, allocations: 25.7 kB / 1.234 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/1.786, allocations: 1.196 MB / 1.235 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001314/1.787, allocations: 0.5697 MB / 1.236 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/1.788, allocations: 0 / 1.236 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004622/1.788, allocations: 443.5 kB / 1.236 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004752/1.793, allocations: 1.551 MB / 1.238 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005846/1.799, allocations: 2.254 MB / 1.24 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008294/1.807, allocations: 2.219 MB / 1.242 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-05/1.807, allocations: 4 kB / 1.242 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02291/1.83, allocations: 5.405 MB / 1.248 GB, free: 2.855 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.3639/2.194, allocations: 8.859 MB / 1.256 GB, free: 332.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/2.195, allocations: 22.34 kB / 1.256 GB, free: 332.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01188/2.206, allocations: 1.418 MB / 1.258 GB, free: 332.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007139/2.214, allocations: 0.6525 MB / 1.258 GB, free: 332.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03779/2.251, allocations: 15.95 MB / 1.274 GB, free: 325.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008754/2.26, allocations: 311.1 kB / 1.274 GB, free: 325.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009355/2.261, allocations: 122.2 kB / 1.274 GB, free: 325.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/2.261, allocations: 5.156 kB / 1.274 GB, free: 325.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02585/2.287, allocations: 5.122 MB / 1.279 GB, free: 325.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001469/2.287, allocations: 22.53 kB / 1.279 GB, free: 325.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009017/2.296, allocations: 1.349 MB / 1.281 GB, free: 325.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009214/2.306, allocations: 0.6517 MB / 1.281 GB, free: 325.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03051/2.336, allocations: 15.38 MB / 1.296 GB, free: 317.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006386/2.343, allocations: 302.6 kB / 1.297 GB, free: 317.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007267/2.343, allocations: 114.7 kB / 1.297 GB, free: 317.9 MB / 0.8542 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.0008467/2.344, allocations: 175.4 kB / 1.297 GB, free: 317.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000547/2.345, allocations: 136.8 kB / 1.297 GB, free: 317.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01881/2.364, allocations: 5.006 MB / 1.302 GB, free: 317.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-05/2.364, allocations: 15.09 kB / 1.302 GB, free: 317.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.594e-05/2.364, allocations: 10.5 kB / 1.302 GB, free: 317.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-05/2.364, allocations: 8.812 kB / 1.302 GB, free: 317.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/2.39, allocations: 8.167 MB / 1.31 GB, free: 316.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/2.39, allocations: 7.438 kB / 1.31 GB, free: 316.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005203/2.395, allocations: 421.7 kB / 1.31 GB, free: 316.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008019/2.403, allocations: 1.187 MB / 1.311 GB, free: 316.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004894/2.403, allocations: 26.05 kB / 1.311 GB, free: 316.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02957/2.433, allocations: 15.23 MB / 1.326 GB, free: 306 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/2.433, allocations: 10.34 kB / 1.326 GB, free: 306 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01439/2.448, allocations: 4.497 MB / 1.331 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001953/2.45, allocations: 0.5557 MB / 1.331 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006554/2.45, allocations: 7.469 kB / 1.331 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005657/2.456, allocations: 282.4 kB / 1.332 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/2.456, allocations: 96.52 kB / 1.332 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002798/2.457, allocations: 63.16 kB / 1.332 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001609/2.458, allocations: 0.7621 MB / 1.332 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007173/2.466, allocations: 1.152 MB / 1.334 GB, free: 303.1 MB / 0.8542 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.0007177/2.466, allocations: 136.9 kB / 1.334 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02166/2.488, allocations: 7.464 MB / 1.341 GB, free: 299.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/2.488, allocations: 0 / 1.341 GB, free: 299.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009581/2.498, allocations: 2.578 MB / 1.344 GB, free: 298.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/2.5, allocations: 170.3 kB / 1.344 GB, free: 298.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03641/2.536, allocations: 6.089 MB / 1.35 GB, free: 296.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006744/2.543, allocations: 2.518 MB / 1.352 GB, free: 295.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/2.543, allocations: 0 / 1.352 GB, free: 295.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.1331/2.676, allocations: 58.49 MB / 1.409 GB, free: 253.4 MB / 0.8542 GB