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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.532/2.532, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 183.3 kB / 325.6 MB, free: 2.844 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.628/2.628, allocations: 205.4 MB / 0.5766 GB, free: 21.17 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.001164/0.001164, allocations: 100.3 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.000475, allocations: 12.09 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 106.3 MB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.03374/0.2513, allocations: 22.9 MB / 0.9212 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2551/0.5064, allocations: 133.8 MB / 1.052 GB, free: 4.844 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003378/0.5098, allocations: 67.69 kB / 1.052 GB, free: 4.777 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/0.5124, allocations: 440.7 kB / 1.052 GB, free: 4.344 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006901/0.5193, allocations: 1.325 MB / 1.054 GB, free: 3.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008734/0.5281, allocations: 1.849 MB / 1.056 GB, free: 1.18 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.6662/1.194, allocations: 3.207 MB / 1.059 GB, free: 9.449 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01646/1.211, allocations: 6.896 MB / 1.065 GB, free: 8.473 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/1.216, allocations: 1.574 MB / 1.067 GB, free: 8.469 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005762/1.222, allocations: 1.795 MB / 1.069 GB, free: 8.457 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002283/1.224, allocations: 198.9 kB / 1.069 GB, free: 8.457 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/1.229, allocations: 0.5659 MB / 1.069 GB, free: 8.457 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00439/1.233, allocations: 1.391 MB / 1.071 GB, free: 8.457 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003256/1.236, allocations: 0.8639 MB / 1.072 GB, free: 8.426 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01322/1.25, allocations: 7.225 MB / 1.079 GB, free: 8.086 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.25, allocations: 5.531 kB / 1.079 GB, free: 8.086 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.539e-06/1.25, allocations: 0 / 1.079 GB, free: 8.086 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000403/1.25, allocations: 2.906 kB / 1.079 GB, free: 8.086 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.02522/1.275, allocations: 3.996 MB / 1.083 GB, free: 6.266 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.347e-05/1.275, allocations: 8.969 kB / 1.083 GB, free: 6.266 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03634/1.312, allocations: 2.065 MB / 1.085 GB, free: 5.961 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/1.324, allocations: 2.519 MB / 1.087 GB, free: 5.438 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006717/1.325, allocations: 350.3 kB / 1.087 GB, free: 5.422 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003312/1.328, allocations: 461.4 kB / 1.088 GB, free: 5.418 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04191/1.37, allocations: 7.048 MB / 1.095 GB, free: 4.684 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002814/1.371, allocations: 16.05 kB / 1.095 GB, free: 4.684 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00224/1.373, allocations: 200.5 kB / 1.095 GB, free: 4.684 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005857/1.374, allocations: 255.1 kB / 1.095 GB, free: 4.668 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03926/1.413, allocations: 6.89 MB / 1.102 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06695/1.48, allocations: 26.97 MB / 1.128 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/1.498, allocations: 4.296 MB / 1.132 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/1.5, allocations: 0.5047 MB / 1.133 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009314/1.509, allocations: 2.23 MB / 1.135 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=254): time 9.508e-06/1.509, allocations: 0 / 1.135 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=257): time 0.03031/1.54, allocations: 7.916 MB / 1.143 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002527/1.54, allocations: 397.5 kB / 1.143 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003817/1.544, allocations: 1.784 MB / 1.145 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0009185/1.545, allocations: 71.02 kB / 1.145 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0024/1.547, allocations: 1.834 MB / 1.147 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002683/1.55, allocations: 0.8533 MB / 1.148 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006393/1.55, allocations: 56.94 kB / 1.148 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0004175/1.551, allocations: 414.2 kB / 1.148 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007679/1.559, allocations: 1.66 MB / 1.15 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008838/1.567, allocations: 2.365 MB / 1.152 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008368/1.576, allocations: 1.948 MB / 1.154 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.182e-05/1.576, allocations: 4 kB / 1.154 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01861/1.595, allocations: 4.386 MB / 1.158 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003359/1.598, allocations: 6.944 MB / 1.165 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.445e-05/1.598, allocations: 16 kB / 1.165 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.88e-05/1.598, allocations: 32 kB / 1.165 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008909/1.607, allocations: 0.8347 MB / 1.166 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.279e-05/1.607, allocations: 44.45 kB / 1.166 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006351/1.614, allocations: 395.5 kB / 1.166 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/1.615, allocations: 134.2 kB / 1.166 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.615, allocations: 4 kB / 1.166 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01781/1.633, allocations: 3.843 MB / 1.17 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-05/1.633, allocations: 16 kB / 1.17 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.113e-05/1.633, allocations: 39.98 kB / 1.17 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008225/1.641, allocations: 0.7737 MB / 1.171 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.642e-05/1.641, allocations: 50.7 kB / 1.171 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006142/1.647, allocations: 350.2 kB / 1.171 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009957/1.648, allocations: 140.3 kB / 1.172 GB, free: 7.305 MB / 0.7448 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.005314/1.654, allocations: 1.343 MB / 1.173 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.655, allocations: 245 kB / 1.173 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0222/1.677, allocations: 4.534 MB / 1.177 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.725e-05/1.677, allocations: 28 kB / 1.178 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/1.677, allocations: 7.953 kB / 1.178 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.2e-05/1.677, allocations: 19.95 kB / 1.178 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03428/1.712, allocations: 9.616 MB / 1.187 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/1.712, allocations: 4 kB / 1.187 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008607/1.72, allocations: 0.7733 MB / 1.188 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.026e-05/1.72, allocations: 12 kB / 1.188 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008542/1.721, allocations: 70.81 kB / 1.188 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.979e-05/1.721, allocations: 15.19 kB / 1.188 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/1.721, allocations: 4 kB / 1.188 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/1.743, allocations: 4.477 MB / 1.192 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004281/1.747, allocations: 0.815 MB / 1.193 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001931/1.749, allocations: 49.25 kB / 1.193 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008777/1.758, allocations: 304.3 kB / 1.193 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/1.76, allocations: 157.8 kB / 1.193 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001014/1.761, allocations: 100.9 kB / 1.194 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.005338/1.766, allocations: 1.281 MB / 1.195 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.12e-07/1.766, allocations: 1.859 kB / 1.195 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01328/1.779, allocations: 1.343 MB / 1.196 GB, free: 5.223 MB / 0.7605 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.004115/1.784, allocations: 0.6308 MB / 1.197 GB, free: 4.855 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02737/1.811, allocations: 6.08 MB / 1.203 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.811, allocations: 0 / 1.203 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.009174/1.82, allocations: 2.014 MB / 1.205 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006104/1.826, allocations: 0.5838 MB / 1.205 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03196/1.859, allocations: 9.786 MB / 1.215 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006577/1.865, allocations: 2.772 MB / 1.217 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01163/1.877, allocations: 1.273 MB / 1.219 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002969/1.88, allocations: 280.8 kB / 1.219 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of SimCode: time 1.703e-06/1.88, allocations: 0 / 1.219 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of Templates: time 0.1255/2.005, allocations: 41.63 MB / 1.26 GB, free: 8.918 MB / 0.823 GB