Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.277/2.277, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.001591, allocations: 179.1 kB / 325.6 MB, free: 2.82 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.545/2.545, allocations: 205.4 MB / 0.5766 GB, free: 20.71 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.001448/0.001447, allocations: 102.3 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006844/0.0006846, allocations: 15.38 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2271, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01365/0.2408, allocations: 9.64 MB / 0.9083 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.2516, allocations: 5.4 MB / 0.9136 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.2531, allocations: 51.62 kB / 0.9136 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008899/0.254, allocations: 222.4 kB / 0.9138 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003515/0.2576, allocations: 0.8372 MB / 0.9146 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.2602, allocations: 0.5931 MB / 0.9152 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002889/0.2631, allocations: 1.268 MB / 0.9165 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005207/0.2684, allocations: 2.156 MB / 0.9186 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.2697, allocations: 0.6149 MB / 0.9192 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.2712, allocations: 0.6497 MB / 0.9198 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.2715, allocations: 64 kB / 0.9199 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.2734, allocations: 0.5148 MB / 0.9204 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000694/0.2741, allocations: 422.7 kB / 0.9208 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.2746, allocations: 292.9 kB / 0.9211 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003017/0.2776, allocations: 1.718 MB / 0.9227 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2777, allocations: 0 / 0.9227 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.056e-06/0.2777, allocations: 0 / 0.9227 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.035e-05/0.2778, allocations: 0 / 0.9227 GB, free: 40.93 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004261/0.282, allocations: 1.606 MB / 0.9243 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.2821, allocations: 8.031 kB / 0.9243 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.2941, allocations: 0.6808 MB / 0.925 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/0.2977, allocations: 0.8788 MB / 0.9258 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.2979, allocations: 102.5 kB / 0.9259 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006417/0.2986, allocations: 124 kB / 0.926 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007262/0.3059, allocations: 2.183 MB / 0.9282 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.3061, allocations: 11.84 kB / 0.9282 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000382/0.3065, allocations: 63.97 kB / 0.9283 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004763/0.307, allocations: 170.2 kB / 0.9284 GB, free: 34.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007629/0.3146, allocations: 1.851 MB / 0.9302 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02473/0.3394, allocations: 12.48 MB / 0.9424 GB, free: 19.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.3509, allocations: 1.961 MB / 0.9443 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/0.3513, allocations: 102 kB / 0.9444 GB, free: 17.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.3514, allocations: 47.52 kB / 0.9445 GB, free: 17.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=103): time 6.643e-06/0.3514, allocations: 0 / 0.9445 GB, free: 17.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=110): time 0.01442/0.3659, allocations: 3.698 MB / 0.9481 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.366, allocations: 60.41 kB / 0.9481 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.3682, allocations: 0.9202 MB / 0.949 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.3685, allocations: 45.7 kB / 0.9491 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007036/0.3692, allocations: 0.7352 MB / 0.9498 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00056/0.3698, allocations: 378.6 kB / 0.9502 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.37, allocations: 36 kB / 0.9502 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3702, allocations: 365.9 kB / 0.9505 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.3717, allocations: 0.6051 MB / 0.9511 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.3733, allocations: 1.098 MB / 0.9522 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.3751, allocations: 0.7642 MB / 0.9529 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.3751, allocations: 4 kB / 0.9529 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005147/0.3803, allocations: 2.081 MB / 0.955 GB, free: 6.113 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.3804, allocations: 18.02 kB / 0.955 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.3804, allocations: 16 kB / 0.955 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.3817, allocations: 266.5 kB / 0.9553 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/0.3842, allocations: 375.4 kB / 0.9556 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/0.4012, allocations: 10.83 MB / 0.9662 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.4033, allocations: 119.9 kB / 0.9663 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.4035, allocations: 75.97 kB / 0.9664 GB, free: 9.348 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 179 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009819/0.4045, allocations: 414.8 kB / 0.9668 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/0.4049, allocations: 126.5 kB / 0.9669 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/0.4098, allocations: 1.681 MB / 0.9685 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.4099, allocations: 12 kB / 0.9686 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4099, allocations: 0 / 0.9686 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/0.4099, allocations: 7.969 kB / 0.9686 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009322/0.4193, allocations: 3.287 MB / 0.9718 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.4193, allocations: 4 kB / 0.9718 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.421, allocations: 223.6 kB / 0.972 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/0.4224, allocations: 239.3 kB / 0.9722 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.4225, allocations: 28 kB / 0.9722 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/0.435, allocations: 10.81 MB / 0.9828 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.435, allocations: 4 kB / 0.9828 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005039/0.4401, allocations: 2.062 MB / 0.9848 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009517/0.4411, allocations: 323.4 kB / 0.9851 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/0.4414, allocations: 27.98 kB / 0.9852 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.4427, allocations: 87.88 kB / 0.9852 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/0.443, allocations: 100.7 kB / 0.9853 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.4432, allocations: 32 kB / 0.9854 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001251/0.4444, allocations: 0.6099 MB / 0.986 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.3e-07/0.4444, allocations: 0 / 0.986 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002026/0.4465, allocations: 388 kB / 0.9863 GB, free: 3.383 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003342/0.4468, allocations: 147 kB / 0.9865 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005926/0.4528, allocations: 2.488 MB / 0.9889 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.4528, allocations: 7.938 kB / 0.9889 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003653/0.4565, allocations: 1.63 MB / 0.9905 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.459, allocations: 319.3 kB / 0.9908 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00761/0.4666, allocations: 3.23 MB / 0.994 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.4682, allocations: 1.36 MB / 0.9953 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001928/0.4702, allocations: 363.3 kB / 0.9956 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/0.4707, allocations: 95.42 kB / 0.9957 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of SimCode: time 1.332e-06/0.4708, allocations: 0 / 0.9957 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of Templates: time 0.04787/0.5186, allocations: 15.71 MB / 1.011 GB, free: 9.852 MB / 0.6667 GB