Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 176 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.594/2.594, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000886/0.0008856, allocations: 87.22 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004984, allocations: 13.06 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.304/7.531, allocations: 2.238 GB / 3.138 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/7.531, allocations: 114.9 kB / 3.138 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7578/8.289, allocations: 187.5 MB / 3.321 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.555e-06/8.289, allocations: 0 / 3.321 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003762/8.29, allocations: 99.94 kB / 3.321 GB, free: 107.1 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: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01566/8.305, allocations: 3.931 MB / 3.325 GB, free: 103 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/8.305, allocations: 11.97 kB / 3.325 GB, free: 103 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02073/8.326, allocations: 1.806 MB / 3.327 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007745/8.334, allocations: 2.412 MB / 3.329 GB, free: 98.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004534/8.334, allocations: 324.8 kB / 3.329 GB, free: 98.43 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00225/8.337, allocations: 420.3 kB / 3.33 GB, free: 98.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/8.362, allocations: 6.485 MB / 3.336 GB, free: 91.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002403/8.363, allocations: 11.88 kB / 3.336 GB, free: 91.29 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001935/8.364, allocations: 188 kB / 3.336 GB, free: 91.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000334/8.365, allocations: 219.4 kB / 3.336 GB, free: 90.89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/8.392, allocations: 6.454 MB / 3.343 GB, free: 84.43 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05758/8.45, allocations: 26.2 MB / 3.368 GB, free: 56.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01758/8.468, allocations: 4.25 MB / 3.372 GB, free: 52.32 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007778/8.475, allocations: 2.07 MB / 3.374 GB, free: 50.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/8.477, allocations: 0.5111 MB / 3.375 GB, free: 49.63 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008456/8.485, allocations: 2.229 MB / 3.377 GB, free: 47.37 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=254): time 5.981e-06/8.485, allocations: 4 kB / 3.377 GB, free: 47.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=257): time 0.02927/8.515, allocations: 7.712 MB / 3.385 GB, free: 39.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/8.515, allocations: 441.2 kB / 3.385 GB, free: 39.08 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/8.519, allocations: 1.794 MB / 3.387 GB, free: 37.24 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009294/8.52, allocations: 77.64 kB / 3.387 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001997/8.522, allocations: 1.72 MB / 3.389 GB, free: 35.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/8.523, allocations: 0.8509 MB / 3.389 GB, free: 34.55 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004269/8.524, allocations: 56 kB / 3.389 GB, free: 34.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002123/8.524, allocations: 411.5 kB / 3.39 GB, free: 34.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007278/8.531, allocations: 1.657 MB / 3.391 GB, free: 32.43 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009591/8.541, allocations: 2.387 MB / 3.394 GB, free: 29.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007985/8.549, allocations: 1.94 MB / 3.396 GB, free: 27.79 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/8.549, allocations: 4 kB / 3.396 GB, free: 27.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01759/8.566, allocations: 4.363 MB / 3.4 GB, free: 23.37 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00031/8.567, allocations: 0.5908 MB / 3.4 GB, free: 22.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/8.567, allocations: 16 kB / 3.4 GB, free: 22.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.252e-05/8.567, allocations: 36 kB / 3.401 GB, free: 22.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008282/8.575, allocations: 0.8268 MB / 3.401 GB, free: 21.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.384e-05/8.575, allocations: 43.86 kB / 3.401 GB, free: 21.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006682/8.582, allocations: 394.2 kB / 3.402 GB, free: 21.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009019/8.583, allocations: 135.9 kB / 3.402 GB, free: 21.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/8.583, allocations: 4 kB / 3.402 GB, free: 21.09 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.016/8.599, allocations: 3.825 MB / 3.406 GB, free: 17.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.139e-05/8.599, allocations: 16 kB / 3.406 GB, free: 17.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-05/8.599, allocations: 32 kB / 3.406 GB, free: 17.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007899/8.607, allocations: 0.7806 MB / 3.406 GB, free: 16.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.447e-05/8.607, allocations: 47.86 kB / 3.406 GB, free: 16.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005669/8.613, allocations: 346.2 kB / 3.407 GB, free: 16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007579/8.614, allocations: 139.9 kB / 3.407 GB, free: 15.87 MB / 0.8855 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 () * Number of clocked 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.003908/8.617, allocations: 1.317 MB / 3.408 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008961/8.618, allocations: 245.1 kB / 3.408 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01904/8.637, allocations: 4.521 MB / 3.413 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/8.638, allocations: 27.94 kB / 3.413 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/8.638, allocations: 4 kB / 3.413 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.04e-05/8.638, allocations: 11.95 kB / 3.413 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03038/8.668, allocations: 9.505 MB / 3.422 GB, free: 16 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/8.668, allocations: 0 / 3.422 GB, free: 16 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.6725/9.341, allocations: 0.7789 MB / 3.423 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.532e-05/9.341, allocations: 12.97 kB / 3.423 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008129/9.342, allocations: 77.64 kB / 3.423 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.774e-05/9.342, allocations: 10.72 kB / 3.423 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/9.342, allocations: 2.875 kB / 3.423 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/9.36, allocations: 4.296 MB / 3.427 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003448/9.363, allocations: 0.8211 MB / 3.428 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001563/9.365, allocations: 53.98 kB / 3.428 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006209/9.371, allocations: 287.9 kB / 3.428 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009304/9.372, allocations: 166.1 kB / 3.429 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006706/9.373, allocations: 95.8 kB / 3.429 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004042/9.377, allocations: 1.297 MB / 3.43 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.12e-07/9.377, allocations: 0 / 3.43 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01031/9.387, allocations: 1.407 MB / 3.431 GB, free: 229.3 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 (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.003156/9.391, allocations: 0.6603 MB / 3.432 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02794/9.418, allocations: 6.054 MB / 3.438 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/9.419, allocations: 2.75 kB / 3.438 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.009061/9.428, allocations: 2.011 MB / 3.44 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007798/9.436, allocations: 0.6269 MB / 3.44 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02917/9.465, allocations: 9.416 MB / 3.45 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005353/9.47, allocations: 2.612 MB / 3.452 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01066/9.481, allocations: 1.279 MB / 3.453 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002709/9.484, allocations: 280.9 kB / 3.454 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.213e-06/9.484, allocations: 0 / 3.454 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.1107/9.594, allocations: 41.92 MB / 3.495 GB, free: 222.5 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)