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.704/1.704, allocations: 288.3 MB / 303.2 MB, free: 8.141 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.001114/0.001114, allocations: 183.6 kB / 371.9 MB, free: 10.29 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.732/1.732, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009131/0.0009128, allocations: 94.84 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004117, allocations: 11.31 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2913, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.03134/0.3227, allocations: 21.89 MB / 1.001 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8573/1.18, allocations: 133.6 MB / 1.131 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003545/1.184, allocations: 63.66 kB / 1.131 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001826/1.186, allocations: 414.7 kB / 1.132 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005491/1.191, allocations: 1.308 MB / 1.133 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006527/1.198, allocations: 1.84 MB / 1.135 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006196/1.204, allocations: 2.916 MB / 1.138 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/1.216, allocations: 6.421 MB / 1.144 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/1.22, allocations: 1.469 MB / 1.145 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/1.224, allocations: 1.655 MB / 1.147 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001927/1.226, allocations: 184.4 kB / 1.147 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003451/1.23, allocations: 0.5241 MB / 1.148 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002888/1.232, allocations: 1.261 MB / 1.149 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002425/1.235, allocations: 0.7951 MB / 1.15 GB, free: 40 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00972/1.245, allocations: 6.645 MB / 1.156 GB, free: 11.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.245, allocations: 0 / 1.156 GB, free: 11.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/1.245, allocations: 0 / 1.156 GB, free: 11.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003472/1.245, allocations: 0 / 1.156 GB, free: 11.05 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1145 * Number of variables: 1145 Notification: Performance of Generate backend data structure: time 0.01166/1.257, allocations: 3.786 MB / 1.16 GB, free: 8.473 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.257, allocations: 13.33 kB / 1.16 GB, free: 8.469 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/1.27, allocations: 2 MB / 1.162 GB, free: 7.582 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007897/1.278, allocations: 2.332 MB / 1.164 GB, free: 5.922 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/1.278, allocations: 333.3 kB / 1.164 GB, free: 5.766 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002237/1.281, allocations: 422.9 kB / 1.165 GB, free: 5.629 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02231/1.303, allocations: 6.571 MB / 1.171 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002548/1.303, allocations: 16.73 kB / 1.171 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002007/1.305, allocations: 186 kB / 1.171 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003148/1.306, allocations: 221 kB / 1.172 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02011/1.326, allocations: 6.542 MB / 1.178 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04727/1.373, allocations: 23.74 MB / 1.201 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/1.385, allocations: 4.185 MB / 1.205 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/1.386, allocations: 0.5112 MB / 1.206 GB, free: 256 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00564/1.391, allocations: 2.025 MB / 1.208 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=240): time 8.947e-06/1.391, allocations: 0 / 1.208 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=243): time 0.02164/1.413, allocations: 7.209 MB / 1.215 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002288/1.413, allocations: 389.8 kB / 1.215 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/1.417, allocations: 1.709 MB / 1.217 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0006521/1.417, allocations: 69.7 kB / 1.217 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001993/1.419, allocations: 1.734 MB / 1.219 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/1.421, allocations: 0.8125 MB / 1.219 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005385/1.421, allocations: 56 kB / 1.219 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003088/1.422, allocations: 411.4 kB / 1.22 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004527/1.426, allocations: 1.543 MB / 1.221 GB, free: 52 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005103/1.431, allocations: 2.25 MB / 1.224 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004974/1.436, allocations: 1.833 MB / 1.225 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.533e-05/1.436, allocations: 8 kB / 1.225 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of matching and sorting (n=337) (initialization): time 0.01187/1.448, allocations: 4.13 MB / 1.229 GB, free: 7.527 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.004229/1.452, allocations: 7.252 MB / 1.236 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.472e-05/1.453, allocations: 16 kB / 1.236 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-05/1.453, allocations: 39.95 kB / 1.236 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004824/1.457, allocations: 0.8073 MB / 1.237 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-05/1.458, allocations: 35.92 kB / 1.237 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004126/1.462, allocations: 393.6 kB / 1.238 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007724/1.462, allocations: 135.9 kB / 1.238 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.463, allocations: 5.562 kB / 1.238 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0114/1.474, allocations: 3.69 MB / 1.241 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.815e-05/1.474, allocations: 24 kB / 1.241 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.265e-05/1.474, allocations: 36.09 kB / 1.241 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004157/1.478, allocations: 0.7644 MB / 1.242 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-05/1.478, allocations: 43.91 kB / 1.242 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/1.482, allocations: 354.1 kB / 1.243 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005608/1.482, allocations: 131.9 kB / 1.243 GB, free: 9.133 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (337): * Single equations (assignments): 337 * 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.003566/1.486, allocations: 1.273 MB / 1.244 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009566/1.487, allocations: 233.2 kB / 1.244 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/1.499, allocations: 4.125 MB / 1.248 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/1.499, allocations: 28 kB / 1.248 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/1.499, allocations: 0 / 1.248 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-05/1.499, allocations: 19.94 kB / 1.248 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01957/1.519, allocations: 8.893 MB / 1.257 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/1.519, allocations: 0 / 1.257 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003803/1.522, allocations: 0.7216 MB / 1.258 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.923e-05/1.522, allocations: 12 kB / 1.258 GB, free: 9.672 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003323/1.523, allocations: 71.94 kB / 1.258 GB, free: 9.602 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.335e-05/1.523, allocations: 15.98 kB / 1.258 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.523, allocations: 4 kB / 1.258 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009851/1.533, allocations: 4.1 MB / 1.262 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/1.535, allocations: 0.7549 MB / 1.263 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006896/1.536, allocations: 44 kB / 1.263 GB, free: 4.488 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003019/1.539, allocations: 279.7 kB / 1.263 GB, free: 4.215 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/1.539, allocations: 157.7 kB / 1.263 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/1.539, allocations: 95.88 kB / 1.263 GB, free: 3.969 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002702/1.542, allocations: 1.225 MB / 1.264 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.21e-07/1.542, allocations: 0 / 1.264 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005758/1.548, allocations: 1.262 MB / 1.265 GB, free: 1.461 MB / 0.7917 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.001621/1.549, allocations: 0.6188 MB / 1.266 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.563, allocations: 5.69 MB / 1.272 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.563, allocations: 0 / 1.272 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.004259/1.567, allocations: 1.831 MB / 1.273 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/1.57, allocations: 0.5233 MB / 1.274 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/1.59, allocations: 9.032 MB / 1.283 GB, free: 15.85 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003724/1.593, allocations: 2.615 MB / 1.285 GB, free: 13.21 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.007261/1.601, allocations: 1.253 MB / 1.287 GB, free: 11.95 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/1.602, allocations: 271.2 kB / 1.287 GB, free: 11.69 MB / 0.823 GB Notification: Performance of SimCode: time 1.122e-06/1.602, allocations: 4 kB / 1.287 GB, free: 11.68 MB / 0.823 GB Notification: Performance of Templates: time 0.07057/1.673, allocations: 38.2 MB / 1.324 GB, free: 5.637 MB / 0.8542 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)