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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.4/2.4, allocations: 252.6 MB / 265.2 MB, free: 5.734 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.001441/0.001441, allocations: 179.8 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.001106/0.001106, allocations: 82.72 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.207e-05, allocations: 4 kB / 0.7911 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 106.2 MB / 0.8949 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.379/7.58, allocations: 2.238 GB / 3.133 GB, free: 90.01 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/7.581, allocations: 102.5 kB / 3.133 GB, free: 89.95 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.343/8.924, allocations: 186.7 MB / 3.315 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.355e-06/8.924, allocations: 0 / 3.315 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003875/8.925, allocations: 102.3 kB / 3.315 GB, free: 242.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01555/8.94, allocations: 3.633 MB / 3.319 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/8.94, allocations: 13.69 kB / 3.319 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02079/8.961, allocations: 1.804 MB / 3.321 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007881/8.969, allocations: 2.401 MB / 3.323 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003995/8.969, allocations: 324.3 kB / 3.323 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002074/8.971, allocations: 421 kB / 3.324 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02212/8.994, allocations: 6.013 MB / 3.33 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002357/8.994, allocations: 11.81 kB / 3.33 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001845/8.996, allocations: 178.6 kB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003378/8.996, allocations: 224.1 kB / 3.33 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0184/9.015, allocations: 5.628 MB / 3.336 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05715/9.072, allocations: 26.17 MB / 3.361 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/9.082, allocations: 3.766 MB / 3.365 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004791/9.087, allocations: 1.825 MB / 3.367 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/9.088, allocations: 0.5134 MB / 3.367 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005546/9.094, allocations: 1.983 MB / 3.369 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=254): time 7.905e-06/9.094, allocations: 3.938 kB / 3.369 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=257): time 0.02234/9.116, allocations: 5.594 MB / 3.374 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/9.117, allocations: 445.5 kB / 3.375 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005176/9.122, allocations: 1.566 MB / 3.376 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001166/9.123, allocations: 69.7 kB / 3.377 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002755/9.126, allocations: 1.714 MB / 3.378 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002162/9.128, allocations: 0.8561 MB / 3.379 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007589/9.129, allocations: 56 kB / 3.379 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003272/9.129, allocations: 411.5 kB / 3.379 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006363/9.136, allocations: 1.411 MB / 3.381 GB, free: 181 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007969/9.144, allocations: 2.129 MB / 3.383 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006528/9.15, allocations: 1.69 MB / 3.385 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.379e-05/9.15, allocations: 8 kB / 3.385 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01269/9.163, allocations: 3.856 MB / 3.388 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001475/9.165, allocations: 6.851 MB / 3.395 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.275e-05/9.165, allocations: 16 kB / 3.395 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.177e-05/9.165, allocations: 32 kB / 3.395 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008869/9.174, allocations: 0.8307 MB / 3.396 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.247e-05/9.174, allocations: 47.84 kB / 3.396 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006819/9.181, allocations: 402.1 kB / 3.396 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009463/9.182, allocations: 140 kB / 3.396 GB, free: 164 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/9.182, allocations: 0 / 3.396 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009626/9.191, allocations: 3.333 MB / 3.4 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.527e-05/9.191, allocations: 20 kB / 3.4 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.925e-05/9.191, allocations: 35.98 kB / 3.4 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007991/9.199, allocations: 0.7806 MB / 3.401 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-05/9.2, allocations: 39.92 kB / 3.401 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006067/9.206, allocations: 346.2 kB / 3.401 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009848/9.207, allocations: 139.9 kB / 3.401 GB, free: 159.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 346 * 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.001335/9.208, allocations: 280.1 kB / 3.401 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009924/9.209, allocations: 245.1 kB / 3.402 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/9.223, allocations: 4.022 MB / 3.405 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/9.223, allocations: 32 kB / 3.405 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/9.223, allocations: 4 kB / 3.405 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.538e-05/9.223, allocations: 15.94 kB / 3.406 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02383/9.247, allocations: 8.991 MB / 3.414 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/9.247, allocations: 11.95 kB / 3.414 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00827/9.255, allocations: 0.7842 MB / 3.415 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.672e-05/9.255, allocations: 12 kB / 3.415 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007069/9.256, allocations: 67.94 kB / 3.415 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.068e-05/9.256, allocations: 12 kB / 3.415 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/9.256, allocations: 8 kB / 3.415 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/9.266, allocations: 3.967 MB / 3.419 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003142/9.27, allocations: 0.8288 MB / 3.42 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/9.271, allocations: 47.98 kB / 3.42 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006167/9.277, allocations: 291.7 kB / 3.42 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008612/9.278, allocations: 169.8 kB / 3.42 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000473/9.279, allocations: 95.94 kB / 3.42 GB, free: 139 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003034/9.282, allocations: 1.271 MB / 3.422 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.022e-06/9.282, allocations: 0 / 3.422 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008801/9.291, allocations: 1.408 MB / 3.423 GB, free: 136.3 MB / 0.8698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 274 * 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.002481/9.293, allocations: 0.6156 MB / 3.424 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01525/9.308, allocations: 5.385 MB / 3.429 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/9.308, allocations: 0 / 3.429 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004739/9.313, allocations: 1.759 MB / 3.431 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005329/9.319, allocations: 0.5749 MB / 3.431 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/9.337, allocations: 6.165 MB / 3.437 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004037/9.341, allocations: 2.698 MB / 3.44 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01113/9.352, allocations: 1.425 MB / 3.441 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/9.354, allocations: 243.3 kB / 3.441 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.372e-06/9.354, allocations: 7.938 kB / 3.441 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.1116/9.466, allocations: 44.53 MB / 3.485 GB, free: 73.07 MB / 0.8698 GB