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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.274/2.274, allocations: 252.6 MB / 265.2 MB, free: 5.695 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.001502/0.001502, allocations: 183.9 kB / 324.5 MB, free: 14.33 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.198/2.198, allocations: 205.4 MB / 0.5754 GB, free: 10.45 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.001137/0.001136, allocations: 94.08 kB / 0.6797 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.006e-05/4.023e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2267, allocations: 106.2 MB / 0.8949 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.406/7.633, allocations: 2.239 GB / 3.133 GB, free: 89.35 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/7.634, allocations: 104.1 kB / 3.134 GB, free: 89.29 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.292/8.926, allocations: 163.9 MB / 3.294 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.415e-06/8.926, allocations: 2.312 kB / 3.294 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003395/8.926, allocations: 89.31 kB / 3.294 GB, free: 251.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: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.01438/8.94, allocations: 3.426 MB / 3.297 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/8.94, allocations: 7.656 kB / 3.297 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01967/8.96, allocations: 1.735 MB / 3.299 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007502/8.968, allocations: 2.213 MB / 3.301 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004197/8.968, allocations: 296.6 kB / 3.301 GB, free: 249 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002225/8.97, allocations: 382.2 kB / 3.302 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/8.99, allocations: 5.536 MB / 3.307 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002415/8.991, allocations: 16.75 kB / 3.307 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001972/8.993, allocations: 170 kB / 3.307 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002874/8.993, allocations: 190.8 kB / 3.307 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/9.011, allocations: 5.264 MB / 3.313 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05111/9.062, allocations: 22.87 MB / 3.335 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00927/9.071, allocations: 3.472 MB / 3.338 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004138/9.075, allocations: 1.595 MB / 3.34 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/9.076, allocations: 0.5029 MB / 3.34 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004322/9.081, allocations: 1.792 MB / 3.342 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=240): time 6.492e-06/9.081, allocations: 3.938 kB / 3.342 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=243): time 0.01194/9.093, allocations: 5.051 MB / 3.347 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/9.093, allocations: 449.2 kB / 3.347 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/9.096, allocations: 1.502 MB / 3.349 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000831/9.097, allocations: 73.7 kB / 3.349 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/9.099, allocations: 1.598 MB / 3.35 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001353/9.1, allocations: 0.8116 MB / 3.351 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003447/9.1, allocations: 52 kB / 3.351 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001739/9.1, allocations: 411.3 kB / 3.352 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003526/9.104, allocations: 1.29 MB / 3.353 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004616/9.109, allocations: 2.024 MB / 3.355 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004442/9.113, allocations: 1.586 MB / 3.357 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/9.113, allocations: 4 kB / 3.357 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01067/9.124, allocations: 3.623 MB / 3.36 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001369/9.125, allocations: 7.138 MB / 3.367 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/9.125, allocations: 20 kB / 3.367 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.28e-05/9.125, allocations: 32 kB / 3.367 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008056/9.134, allocations: 0.7995 MB / 3.368 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.616e-05/9.134, allocations: 51.75 kB / 3.368 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006676/9.14, allocations: 378.2 kB / 3.368 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009229/9.141, allocations: 135.9 kB / 3.368 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/9.141, allocations: 4 kB / 3.368 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0103/9.152, allocations: 3.194 MB / 3.372 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.178e-05/9.152, allocations: 16.19 kB / 3.372 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.774e-05/9.152, allocations: 40 kB / 3.372 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00808/9.16, allocations: 0.7527 MB / 3.372 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-05/9.16, allocations: 43.86 kB / 3.372 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005708/9.166, allocations: 338.3 kB / 3.373 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008298/9.167, allocations: 135.9 kB / 3.373 GB, free: 188.1 MB / 0.8698 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.001065/9.168, allocations: 260.2 kB / 3.373 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008417/9.169, allocations: 237.1 kB / 3.373 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/9.18, allocations: 3.644 MB / 3.377 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/9.18, allocations: 24 kB / 3.377 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/9.18, allocations: 0 / 3.377 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.472e-05/9.18, allocations: 15.95 kB / 3.377 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02237/9.202, allocations: 8.14 MB / 3.385 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/9.202, allocations: 4 kB / 3.385 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007537/9.21, allocations: 0.714 MB / 3.386 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.574e-05/9.21, allocations: 8 kB / 3.386 GB, free: 175 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006212/9.211, allocations: 71.94 kB / 3.386 GB, free: 175 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.077e-05/9.211, allocations: 22.27 kB / 3.386 GB, free: 175 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/9.211, allocations: 0 / 3.386 GB, free: 175 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008904/9.22, allocations: 3.597 MB / 3.389 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002659/9.222, allocations: 0.7627 MB / 3.39 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/9.224, allocations: 51.92 kB / 3.39 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005703/9.229, allocations: 271.7 kB / 3.39 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000809/9.23, allocations: 153.7 kB / 3.39 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004695/9.231, allocations: 95.94 kB / 3.39 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002934/9.234, allocations: 1.22 MB / 3.392 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.533e-06/9.234, allocations: 0 / 3.392 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008634/9.242, allocations: 1.315 MB / 3.393 GB, free: 167.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 (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.002412/9.245, allocations: 0.6243 MB / 3.394 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01351/9.258, allocations: 4.985 MB / 3.398 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/9.258, allocations: 8.062 kB / 3.398 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004474/9.263, allocations: 1.573 MB / 3.4 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004863/9.268, allocations: 0.5276 MB / 3.4 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/9.292, allocations: 5.638 MB / 3.406 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006489/9.299, allocations: 2.528 MB / 3.408 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01605/9.315, allocations: 1.393 MB / 3.41 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002285/9.317, allocations: 235.3 kB / 3.41 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.703e-06/9.317, allocations: 4 kB / 3.41 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.121/9.439, allocations: 40.86 MB / 3.45 GB, free: 109.3 MB / 0.8698 GB