Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.631/1.631, allocations: 285.6 MB / 293.1 MB, free: 10.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 176.9 kB / 361.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 97.22 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.392e-05, allocations: 4 kB / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6476/0.6476, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.412/6.06, allocations: 2.12 GB / 3.084 GB, free: 260.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/6.06, allocations: 101.8 kB / 3.084 GB, free: 260.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.3439/6.404, allocations: 162.3 MB / 3.243 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.195e-06/6.404, allocations: 0 / 3.243 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001825/6.404, allocations: 92 kB / 3.243 GB, free: 125.9 MB / 0.9323 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.007124/6.411, allocations: 3.425 MB / 3.246 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/6.411, allocations: 12.03 kB / 3.246 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/6.422, allocations: 1.719 MB / 3.248 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004591/6.427, allocations: 2.211 MB / 3.25 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/6.427, allocations: 132 kB / 3.25 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009613/6.428, allocations: 231.9 kB / 3.251 GB, free: 118 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008422/6.436, allocations: 4.849 MB / 3.255 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007929/6.444, allocations: 4.984 MB / 3.26 GB, free: 108 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.747e-05/6.444, allocations: 7.938 kB / 3.26 GB, free: 108 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003909/6.445, allocations: 11.94 kB / 3.26 GB, free: 108 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/6.445, allocations: 198.9 kB / 3.26 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02771/6.473, allocations: 21.93 MB / 3.282 GB, free: 84.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004258/6.477, allocations: 3.344 MB / 3.285 GB, free: 81.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/6.479, allocations: 1.528 MB / 3.287 GB, free: 79.56 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006674/6.479, allocations: 0.5113 MB / 3.287 GB, free: 78.96 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002037/6.481, allocations: 1.713 MB / 3.289 GB, free: 77.21 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=240): time 4.649e-06/6.481, allocations: 0 / 3.289 GB, free: 77.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=243): time 0.01178/6.493, allocations: 5.875 MB / 3.295 GB, free: 71.29 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/6.493, allocations: 445.2 kB / 3.295 GB, free: 70.76 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/6.495, allocations: 1.333 MB / 3.296 GB, free: 69.42 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002446/6.495, allocations: 29.7 kB / 3.296 GB, free: 69.38 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/6.497, allocations: 1.613 MB / 3.298 GB, free: 67.75 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006065/6.497, allocations: 0.77 MB / 3.299 GB, free: 66.97 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/6.497, allocations: 4 kB / 3.299 GB, free: 66.96 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001182/6.498, allocations: 415.4 kB / 3.299 GB, free: 66.55 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/6.499, allocations: 1.239 MB / 3.3 GB, free: 65.31 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/6.501, allocations: 1.941 MB / 3.302 GB, free: 63.08 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006803/6.508, allocations: 2.497 MB / 3.305 GB, free: 60.58 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/6.508, allocations: 4 kB / 3.305 GB, free: 60.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01035/6.518, allocations: 4.342 MB / 3.309 GB, free: 56.22 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001088/6.519, allocations: 7.104 MB / 3.316 GB, free: 48.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/6.519, allocations: 16 kB / 3.316 GB, free: 48.67 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.975e-05/6.519, allocations: 32 kB / 3.316 GB, free: 48.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003852/6.523, allocations: 0.7956 MB / 3.317 GB, free: 47.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.448e-05/6.523, allocations: 43.86 kB / 3.317 GB, free: 47.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003146/6.526, allocations: 330.1 kB / 3.317 GB, free: 47.47 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/6.527, allocations: 131.9 kB / 3.317 GB, free: 47.34 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/6.527, allocations: 5.562 kB / 3.317 GB, free: 47.34 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009196/6.536, allocations: 3.885 MB / 3.321 GB, free: 43.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/6.536, allocations: 16 kB / 3.321 GB, free: 43.44 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/6.536, allocations: 32 kB / 3.321 GB, free: 43.41 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/6.54, allocations: 0.7572 MB / 3.322 GB, free: 42.65 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.451e-05/6.54, allocations: 47.86 kB / 3.322 GB, free: 42.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/6.542, allocations: 274.3 kB / 3.322 GB, free: 42.33 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/6.543, allocations: 131.9 kB / 3.322 GB, free: 42.2 MB / 0.9323 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 () * 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.0006037/6.543, allocations: 180.2 kB / 3.322 GB, free: 42.02 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/6.544, allocations: 225.2 kB / 3.322 GB, free: 41.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/6.554, allocations: 4.408 MB / 3.327 GB, free: 37.37 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/6.554, allocations: 31.98 kB / 3.327 GB, free: 37.34 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/6.554, allocations: 0 / 3.327 GB, free: 37.34 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/6.554, allocations: 15.89 kB / 3.327 GB, free: 37.32 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/6.569, allocations: 8.223 MB / 3.335 GB, free: 29.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/6.569, allocations: 0 / 3.335 GB, free: 29.03 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003545/6.573, allocations: 0.7138 MB / 3.336 GB, free: 28.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.684e-05/6.573, allocations: 12 kB / 3.336 GB, free: 28.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/6.573, allocations: 39.94 kB / 3.336 GB, free: 28.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/6.573, allocations: 12 kB / 3.336 GB, free: 28.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/6.573, allocations: 0 / 3.336 GB, free: 28.25 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008898/6.582, allocations: 4.419 MB / 3.34 GB, free: 23.69 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/6.583, allocations: 0.7511 MB / 3.341 GB, free: 22.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003749/6.584, allocations: 4 kB / 3.341 GB, free: 22.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/6.586, allocations: 227.7 kB / 3.341 GB, free: 22.69 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/6.586, allocations: 153.7 kB / 3.341 GB, free: 22.54 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/6.587, allocations: 91.94 kB / 3.341 GB, free: 22.45 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001425/6.588, allocations: 1.065 MB / 3.342 GB, free: 21.39 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.61e-07/6.588, allocations: 0 / 3.342 GB, free: 21.39 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003931/6.592, allocations: 1.168 MB / 3.343 GB, free: 20.23 MB / 0.9323 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 (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.001291/6.593, allocations: 0.5531 MB / 3.344 GB, free: 19.72 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006203/6.599, allocations: 4.766 MB / 3.348 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/6.6, allocations: 0 / 3.348 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/6.601, allocations: 1.53 MB / 3.35 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/6.604, allocations: 476 kB / 3.35 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009568/6.614, allocations: 5.499 MB / 3.356 GB, free: 7.402 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/6.616, allocations: 2.516 MB / 3.358 GB, free: 4.855 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005656/6.621, allocations: 1.388 MB / 3.36 GB, free: 3.461 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008995/6.622, allocations: 235.3 kB / 3.36 GB, free: 3.23 MB / 0.9323 GB Notification: Performance of SimCode: time 9.82e-07/6.622, allocations: 0 / 3.36 GB, free: 3.23 MB / 0.9323 GB Notification: Performance of Templates: time 0.5502/7.172, allocations: 38.51 MB / 3.397 GB, free: 239.1 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)