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.378/2.378, allocations: 253.2 MB / 260.6 MB, free: 7.457 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.001386/0.001387, allocations: 180.9 kB / 319.9 MB, free: 3.031 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.001075/0.001075, allocations: 94.64 kB / 0.6751 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.213e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2106, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.373/7.584, allocations: 2.239 GB / 3.128 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/7.584, allocations: 104.7 kB / 3.128 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.273/8.857, allocations: 162.3 MB / 3.286 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.174e-06/8.857, allocations: 1.031 kB / 3.286 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000368/8.858, allocations: 93.75 kB / 3.286 GB, free: 235.4 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.01522/8.873, allocations: 3.421 MB / 3.29 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/8.873, allocations: 13.52 kB / 3.29 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02022/8.893, allocations: 1.726 MB / 3.291 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008346/8.902, allocations: 2.209 MB / 3.293 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004397/8.902, allocations: 129.4 kB / 3.293 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001977/8.904, allocations: 231.8 kB / 3.294 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01578/8.92, allocations: 4.858 MB / 3.298 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01919/8.939, allocations: 4.973 MB / 3.303 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/8.94, allocations: 7.719 kB / 3.303 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001006/8.941, allocations: 3.875 kB / 3.303 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002878/8.941, allocations: 200.1 kB / 3.304 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05029/8.991, allocations: 21.94 MB / 3.325 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00887/9, allocations: 3.343 MB / 3.328 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003814/9.004, allocations: 1.523 MB / 3.33 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/9.005, allocations: 0.5147 MB / 3.33 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004662/9.01, allocations: 1.713 MB / 3.332 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=240): time 8.887e-06/9.01, allocations: 1.875 kB / 3.332 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=243): time 0.02359/9.034, allocations: 5.875 MB / 3.338 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/9.034, allocations: 446.2 kB / 3.338 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/9.037, allocations: 1.332 MB / 3.339 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007969/9.038, allocations: 29.45 kB / 3.339 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001841/9.04, allocations: 1.606 MB / 3.341 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001501/9.041, allocations: 0.7764 MB / 3.342 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/9.042, allocations: 0 / 3.342 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002122/9.042, allocations: 416.8 kB / 3.342 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003315/9.045, allocations: 1.247 MB / 3.343 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004224/9.049, allocations: 1.937 MB / 3.345 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0135/9.063, allocations: 2.5 MB / 3.348 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-05/9.063, allocations: 3.938 kB / 3.348 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0205/9.084, allocations: 4.345 MB / 3.352 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001568/9.085, allocations: 7.093 MB / 3.359 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-05/9.085, allocations: 17.88 kB / 3.359 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.137e-05/9.085, allocations: 34.69 kB / 3.359 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008009/9.093, allocations: 0.7952 MB / 3.36 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.007e-05/9.094, allocations: 48.59 kB / 3.36 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00609/9.1, allocations: 319.7 kB / 3.36 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009477/9.101, allocations: 141.8 kB / 3.36 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/9.101, allocations: 3.25 kB / 3.36 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01837/9.119, allocations: 3.87 MB / 3.364 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-05/9.119, allocations: 20.59 kB / 3.364 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.903e-05/9.119, allocations: 32.22 kB / 3.364 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007364/9.127, allocations: 0.7563 MB / 3.365 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.712e-05/9.127, allocations: 48.7 kB / 3.365 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/9.132, allocations: 278.7 kB / 3.365 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008542/9.133, allocations: 136.4 kB / 3.365 GB, free: 202.5 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.001079/9.134, allocations: 182.7 kB / 3.365 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009022/9.135, allocations: 225.1 kB / 3.366 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02088/9.156, allocations: 4.404 MB / 3.37 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.314e-05/9.156, allocations: 25.56 kB / 3.37 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/9.156, allocations: 7.516 kB / 3.37 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.732e-05/9.156, allocations: 11.16 kB / 3.37 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02837/9.185, allocations: 8.235 MB / 3.378 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/9.185, allocations: 1.594 kB / 3.378 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007303/9.192, allocations: 0.7098 MB / 3.379 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.403e-05/9.192, allocations: 11.44 kB / 3.379 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006402/9.193, allocations: 38.59 kB / 3.379 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.858e-05/9.193, allocations: 14.66 kB / 3.379 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/9.193, allocations: 5.562 kB / 3.379 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/9.211, allocations: 4.409 MB / 3.383 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002651/9.213, allocations: 0.7542 MB / 3.384 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009754/9.214, allocations: 2.562 kB / 3.384 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005452/9.22, allocations: 231.1 kB / 3.384 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006994/9.221, allocations: 153.9 kB / 3.384 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004516/9.221, allocations: 88.67 kB / 3.384 GB, free: 195 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002382/9.223, allocations: 1.071 MB / 3.385 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.21e-07/9.223, allocations: 4 kB / 3.385 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007933/9.231, allocations: 1.163 MB / 3.386 GB, free: 194.5 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.00226/9.234, allocations: 0.5549 MB / 3.387 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01247/9.246, allocations: 4.766 MB / 3.392 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/9.246, allocations: 4.25 kB / 3.392 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004065/9.25, allocations: 1.524 MB / 3.393 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004948/9.255, allocations: 482.3 kB / 3.394 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/9.272, allocations: 5.492 MB / 3.399 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003911/9.276, allocations: 2.536 MB / 3.401 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01143/9.288, allocations: 1.386 MB / 3.403 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002199/9.29, allocations: 228.5 kB / 3.403 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.173e-06/9.29, allocations: 4 kB / 3.403 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.09623/9.386, allocations: 38.51 MB / 3.441 GB, free: 149.6 MB / 0.8698 GB