Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.411/2.411, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.002476/0.002475, allocations: 184.5 kB / 325.6 MB, free: 2.859 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.63/2.63, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001238/0.001238, allocations: 92.59 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004893, allocations: 16.09 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2692, allocations: 106.2 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.429/7.699, allocations: 2.239 GB / 3.138 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003875/7.699, allocations: 104.4 kB / 3.138 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.658/8.357, allocations: 164.6 MB / 3.298 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.276e-06/8.357, allocations: 0 / 3.298 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003476/8.358, allocations: 95.92 kB / 3.298 GB, free: 129.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.01489/8.372, allocations: 3.692 MB / 3.302 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/8.373, allocations: 8.031 kB / 3.302 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01979/8.392, allocations: 1.727 MB / 3.304 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006862/8.399, allocations: 2.215 MB / 3.306 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/8.4, allocations: 300.3 kB / 3.306 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001887/8.402, allocations: 391.8 kB / 3.307 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02262/8.424, allocations: 5.98 MB / 3.312 GB, free: 115 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001998/8.424, allocations: 7.938 kB / 3.312 GB, free: 115 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001445/8.426, allocations: 172 kB / 3.313 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002674/8.426, allocations: 194.9 kB / 3.313 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/8.451, allocations: 6.085 MB / 3.319 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05072/8.502, allocations: 22.86 MB / 3.341 GB, free: 84.36 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/8.519, allocations: 3.996 MB / 3.345 GB, free: 80.32 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/8.52, allocations: 0.5034 MB / 3.345 GB, free: 79.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008358/8.529, allocations: 2.033 MB / 3.347 GB, free: 77.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=240): time 7.244e-06/8.529, allocations: 0 / 3.347 GB, free: 77.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=243): time 0.02614/8.555, allocations: 7.005 MB / 3.354 GB, free: 70.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/8.555, allocations: 449.2 kB / 3.355 GB, free: 70.08 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/8.559, allocations: 1.517 MB / 3.356 GB, free: 68.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0008675/8.559, allocations: 77.64 kB / 3.356 GB, free: 68.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001644/8.561, allocations: 1.594 MB / 3.358 GB, free: 66.87 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00138/8.563, allocations: 0.8047 MB / 3.359 GB, free: 66.05 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004455/8.563, allocations: 52 kB / 3.359 GB, free: 66 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001902/8.563, allocations: 411.3 kB / 3.359 GB, free: 65.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009533/8.573, allocations: 1.551 MB / 3.361 GB, free: 64.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/8.583, allocations: 2.261 MB / 3.363 GB, free: 61.48 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0078/8.591, allocations: 1.823 MB / 3.365 GB, free: 59.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/8.591, allocations: 4 kB / 3.365 GB, free: 59.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01784/8.609, allocations: 4.115 MB / 3.369 GB, free: 55.54 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001439/8.61, allocations: 7.146 MB / 3.376 GB, free: 48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.445e-05/8.61, allocations: 19.95 kB / 3.376 GB, free: 47.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.828e-05/8.61, allocations: 36 kB / 3.376 GB, free: 47.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00813/8.619, allocations: 0.7917 MB / 3.376 GB, free: 47.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.371e-05/8.619, allocations: 47.8 kB / 3.376 GB, free: 47.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006083/8.625, allocations: 382.2 kB / 3.377 GB, free: 46.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008901/8.626, allocations: 131.9 kB / 3.377 GB, free: 46.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/8.626, allocations: 4 kB / 3.377 GB, free: 46.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01606/8.642, allocations: 3.682 MB / 3.381 GB, free: 42.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.563e-05/8.642, allocations: 20 kB / 3.381 GB, free: 42.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/8.642, allocations: 32 kB / 3.381 GB, free: 42.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00756/8.65, allocations: 0.7651 MB / 3.381 GB, free: 42.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.394e-05/8.65, allocations: 43.86 kB / 3.381 GB, free: 42.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/8.655, allocations: 338.2 kB / 3.382 GB, free: 41.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009155/8.656, allocations: 127.9 kB / 3.382 GB, free: 41.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 336 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003843/8.66, allocations: 1.251 MB / 3.383 GB, free: 40.34 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008875/8.661, allocations: 225.3 kB / 3.383 GB, free: 40.11 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02015/8.681, allocations: 4.12 MB / 3.387 GB, free: 35.97 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/8.681, allocations: 27.98 kB / 3.387 GB, free: 35.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/8.681, allocations: 0 / 3.387 GB, free: 35.95 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-05/8.681, allocations: 19.94 kB / 3.387 GB, free: 35.93 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02972/8.711, allocations: 8.637 MB / 3.396 GB, free: 27.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/8.711, allocations: 3.953 kB / 3.396 GB, free: 27.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007565/8.719, allocations: 0.7139 MB / 3.396 GB, free: 26.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.229e-05/8.719, allocations: 12 kB / 3.396 GB, free: 26.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007716/8.72, allocations: 71.94 kB / 3.397 GB, free: 26.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.633e-05/8.72, allocations: 15.94 kB / 3.397 GB, free: 26.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/8.72, allocations: 0 / 3.397 GB, free: 26.38 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/8.736, allocations: 4.085 MB / 3.401 GB, free: 22.11 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002627/8.739, allocations: 0.7627 MB / 3.401 GB, free: 21.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/8.74, allocations: 48 kB / 3.401 GB, free: 21.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005556/8.745, allocations: 271.7 kB / 3.402 GB, free: 21.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007546/8.746, allocations: 157.7 kB / 3.402 GB, free: 20.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004653/8.747, allocations: 95.94 kB / 3.402 GB, free: 20.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002972/8.75, allocations: 1.239 MB / 3.403 GB, free: 19.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.51e-07/8.75, allocations: 0 / 3.403 GB, free: 19.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008388/8.758, allocations: 1.32 MB / 3.404 GB, free: 18.18 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003807/8.762, allocations: 0.656 MB / 3.405 GB, free: 17.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02738/8.789, allocations: 5.669 MB / 3.411 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/8.789, allocations: 4 kB / 3.411 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007394/8.797, allocations: 1.824 MB / 3.412 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004805/8.802, allocations: 0.5165 MB / 3.413 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02315/8.825, allocations: 8.644 MB / 3.421 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6076/9.433, allocations: 2.527 MB / 3.424 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.009681/9.442, allocations: 1.255 MB / 3.425 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002615/9.445, allocations: 266.9 kB / 3.425 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of SimCode: time 2.655e-06/9.445, allocations: 0 / 3.425 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.1519/9.597, allocations: 38.38 MB / 3.463 GB, free: 238.1 MB / 0.8855 GB