Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.719/2.719, allocations: 287.9 MB / 302.9 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001457, allocations: 178.7 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001067, allocations: 108.3 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004916, allocations: 11.78 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.156, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.0268/0.1829, allocations: 22.9 MB / 1.001 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.843/1.026, allocations: 133.8 MB / 1.132 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004185/1.03, allocations: 66.22 kB / 1.132 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/1.032, allocations: 442.5 kB / 1.132 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005422/1.038, allocations: 1.323 MB / 1.134 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006814/1.045, allocations: 1.85 MB / 1.135 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006765/1.052, allocations: 3.205 MB / 1.139 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02059/1.072, allocations: 6.913 MB / 1.145 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003595/1.076, allocations: 1.583 MB / 1.147 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/1.08, allocations: 1.787 MB / 1.149 GB, free: 320 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001114/1.081, allocations: 198.7 kB / 1.149 GB, free: 320 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/1.083, allocations: 0.5658 MB / 1.149 GB, free: 140 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002545/1.086, allocations: 1.396 MB / 1.151 GB, free: 15.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001952/1.088, allocations: 0.8646 MB / 1.152 GB, free: 14.74 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/1.099, allocations: 7.217 MB / 1.159 GB, free: 9.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.034e-06/1.099, allocations: 4 kB / 1.159 GB, free: 9.316 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.809e-06/1.099, allocations: 0 / 1.159 GB, free: 9.316 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002387/1.1, allocations: 0 / 1.159 GB, free: 9.316 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: 1228 * Number of variables: 1228 Notification: Performance of Generate backend data structure: time 0.01115/1.111, allocations: 4.001 MB / 1.162 GB, free: 6.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/1.111, allocations: 16.27 kB / 1.162 GB, free: 6.582 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01529/1.126, allocations: 2.061 MB / 1.165 GB, free: 5.668 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006686/1.133, allocations: 2.524 MB / 1.167 GB, free: 3.867 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/1.133, allocations: 346.5 kB / 1.167 GB, free: 3.711 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/1.135, allocations: 463.4 kB / 1.168 GB, free: 3.555 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/1.156, allocations: 7.055 MB / 1.175 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/1.157, allocations: 10.22 kB / 1.175 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/1.158, allocations: 198.6 kB / 1.175 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003165/1.158, allocations: 253.2 kB / 1.175 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02242/1.181, allocations: 6.883 MB / 1.182 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05458/1.235, allocations: 26.96 MB / 1.208 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/1.249, allocations: 4.295 MB / 1.212 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/1.251, allocations: 0.5111 MB / 1.213 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007168/1.258, allocations: 2.229 MB / 1.215 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=254): time 8.813e-06/1.258, allocations: 0 / 1.215 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=257): time 0.02453/1.282, allocations: 7.928 MB / 1.223 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000266/1.283, allocations: 393.8 kB / 1.223 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00365/1.286, allocations: 1.785 MB / 1.225 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006045/1.287, allocations: 69.7 kB / 1.225 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002335/1.289, allocations: 1.829 MB / 1.227 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001498/1.291, allocations: 0.851 MB / 1.228 GB, free: 9.449 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000362/1.291, allocations: 56 kB / 1.228 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000347/1.292, allocations: 419.5 kB / 1.228 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005848/1.297, allocations: 1.664 MB / 1.23 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006853/1.304, allocations: 2.359 MB / 1.232 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006583/1.311, allocations: 1.95 MB / 1.234 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/1.311, allocations: 4 kB / 1.234 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.02329/1.334, allocations: 4.383 MB / 1.238 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.005098/1.339, allocations: 6.944 MB / 1.245 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/1.34, allocations: 20 kB / 1.245 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/1.34, allocations: 32 kB / 1.245 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/1.351, allocations: 0.8307 MB / 1.246 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001241/1.351, allocations: 43.86 kB / 1.246 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007811/1.359, allocations: 394.2 kB / 1.246 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.36, allocations: 135.9 kB / 1.246 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/1.36, allocations: 5.562 kB / 1.246 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02455/1.385, allocations: 3.841 MB / 1.25 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-05/1.385, allocations: 16 kB / 1.25 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-05/1.385, allocations: 32 kB / 1.25 GB, free: 1.316 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01034/1.395, allocations: 0.7763 MB / 1.251 GB, free: 0.5391 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001256/1.396, allocations: 43.8 kB / 1.251 GB, free: 0.4961 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007046/1.403, allocations: 363.5 kB / 1.251 GB, free: 144 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/1.404, allocations: 135.9 kB / 1.251 GB, free: 8 kB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (347): * Single equations (assignments): 347 * 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.006258/1.41, allocations: 1.343 MB / 1.253 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/1.412, allocations: 253 kB / 1.253 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02164/1.433, allocations: 4.522 MB / 1.257 GB, free: 9.82 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.165e-05/1.433, allocations: 31.94 kB / 1.257 GB, free: 9.789 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.4e-05/1.433, allocations: 8 kB / 1.257 GB, free: 9.781 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.278e-05/1.434, allocations: 15.91 kB / 1.257 GB, free: 9.766 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04268/1.476, allocations: 9.625 MB / 1.267 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/1.476, allocations: 4 kB / 1.267 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005429/1.482, allocations: 0.7763 MB / 1.268 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.793e-05/1.482, allocations: 12 kB / 1.268 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005601/1.482, allocations: 75.94 kB / 1.268 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.429e-05/1.482, allocations: 12 kB / 1.268 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.225e-06/1.482, allocations: 3.938 kB / 1.268 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01921/1.502, allocations: 4.477 MB / 1.272 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004712/1.506, allocations: 0.817 MB / 1.273 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/1.508, allocations: 51.98 kB / 1.273 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007356/1.515, allocations: 291.6 kB / 1.273 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/1.517, allocations: 165.8 kB / 1.273 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007667/1.517, allocations: 95.94 kB / 1.273 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.005459/1.523, allocations: 1.283 MB / 1.275 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.617e-06/1.523, allocations: 0 / 1.275 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01284/1.536, allocations: 1.351 MB / 1.276 GB, free: 6.371 MB / 0.8073 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.004265/1.54, allocations: 0.6312 MB / 1.277 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.03762/1.578, allocations: 6.071 MB / 1.283 GB, free: 15.81 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.24e-05/1.578, allocations: 4 kB / 1.283 GB, free: 15.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.009276/1.587, allocations: 2.015 MB / 1.284 GB, free: 13.79 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003806/1.591, allocations: 0.5839 MB / 1.285 GB, free: 13.21 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/1.614, allocations: 9.78 MB / 1.295 GB, free: 3.367 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00507/1.619, allocations: 2.777 MB / 1.297 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.008915/1.628, allocations: 1.274 MB / 1.299 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/1.631, allocations: 279.2 kB / 1.299 GB, free: 15 MB / 0.8386 GB Notification: Performance of SimCode: time 1.812e-06/1.631, allocations: 0 / 1.299 GB, free: 15 MB / 0.8386 GB Notification: Performance of Templates: time 0.113/1.744, allocations: 41.64 MB / 1.339 GB, free: 5.512 MB / 0.8698 GB