Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadModel(Buildings): time 3.899/3.899, allocations: 432.7 MB / 445.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.953e-05/4.972e-05, allocations: 6.203 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.225, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.94/6.165, allocations: 2.233 GB / 2.868 GB, free: 129.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/6.165, allocations: 105.8 kB / 2.868 GB, free: 129.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.126/7.292, allocations: 185 MB / 3.049 GB, free: 221.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.19e-06/7.292, allocations: 0 / 3.049 GB, free: 221.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003426/7.292, allocations: 103.8 kB / 3.049 GB, free: 221.8 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1121 * Number of variables: 1121 Notification: Performance of Generate backend data structure: time 0.01276/7.305, allocations: 3.66 MB / 3.053 GB, free: 220.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/7.305, allocations: 10.31 kB / 3.053 GB, free: 220.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/7.322, allocations: 1.921 MB / 3.054 GB, free: 219.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006882/7.329, allocations: 2.336 MB / 3.057 GB, free: 219.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004035/7.329, allocations: 325.5 kB / 3.057 GB, free: 219.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001986/7.331, allocations: 413.7 kB / 3.057 GB, free: 219.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/7.351, allocations: 6.038 MB / 3.063 GB, free: 218.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002049/7.351, allocations: 20.25 kB / 3.063 GB, free: 218.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001661/7.353, allocations: 183.1 kB / 3.064 GB, free: 218.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002873/7.353, allocations: 219.8 kB / 3.064 GB, free: 218.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/7.369, allocations: 5.715 MB / 3.069 GB, free: 218.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04772/7.417, allocations: 26.26 MB / 3.095 GB, free: 204.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009141/7.426, allocations: 3.848 MB / 3.099 GB, free: 202.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004138/7.43, allocations: 1.859 MB / 3.101 GB, free: 202.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/7.431, allocations: 0.512 MB / 3.101 GB, free: 201.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005053/7.436, allocations: 2.037 MB / 3.103 GB, free: 200.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=254): time 8.437e-06/7.437, allocations: 0 / 3.103 GB, free: 200.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=257): time 0.0133/7.45, allocations: 5.629 MB / 3.109 GB, free: 197.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/7.45, allocations: 417.7 kB / 3.109 GB, free: 197.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/7.453, allocations: 1.515 MB / 3.11 GB, free: 196.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007235/7.454, allocations: 75.14 kB / 3.11 GB, free: 196.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001644/7.456, allocations: 1.689 MB / 3.112 GB, free: 195.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/7.457, allocations: 0.855 MB / 3.113 GB, free: 194.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004081/7.457, allocations: 56.84 kB / 3.113 GB, free: 194.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002047/7.458, allocations: 408.3 kB / 3.113 GB, free: 194.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003543/7.461, allocations: 1.458 MB / 3.115 GB, free: 193.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/7.465, allocations: 2.162 MB / 3.117 GB, free: 191 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/7.47, allocations: 1.789 MB / 3.119 GB, free: 189.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-05/7.47, allocations: 4 kB / 3.119 GB, free: 189.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01093/7.481, allocations: 4.052 MB / 3.123 GB, free: 185.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001376/7.482, allocations: 6.841 MB / 3.129 GB, free: 178.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.028e-05/7.482, allocations: 16 kB / 3.129 GB, free: 178.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.971e-05/7.482, allocations: 32 kB / 3.129 GB, free: 178.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006483/7.489, allocations: 0.856 MB / 3.13 GB, free: 178 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.867e-05/7.489, allocations: 36.78 kB / 3.13 GB, free: 177.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004744/7.494, allocations: 416.8 kB / 3.131 GB, free: 177.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008767/7.494, allocations: 140.7 kB / 3.131 GB, free: 177.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/7.494, allocations: 7.953 kB / 3.131 GB, free: 177.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009644/7.504, allocations: 3.535 MB / 3.134 GB, free: 174.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.466e-05/7.504, allocations: 16 kB / 3.134 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.283e-05/7.504, allocations: 32.84 kB / 3.134 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005592/7.51, allocations: 0.8022 MB / 3.135 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.273e-05/7.51, allocations: 41.61 kB / 3.135 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004315/7.514, allocations: 359.9 kB / 3.135 GB, free: 173.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008221/7.515, allocations: 140.4 kB / 3.136 GB, free: 173.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 346 * Array equations: 0 * Algorithm blocks: 2 * 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.001105/7.516, allocations: 266.8 kB / 3.136 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008067/7.517, allocations: 241 kB / 3.136 GB, free: 172.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/7.529, allocations: 4.1 MB / 3.14 GB, free: 169.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/7.529, allocations: 24 kB / 3.14 GB, free: 169.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-05/7.529, allocations: 4 kB / 3.14 GB, free: 169.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.895e-05/7.529, allocations: 14.86 kB / 3.14 GB, free: 169.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/7.549, allocations: 9.058 MB / 3.149 GB, free: 161.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/7.549, allocations: 6.25 kB / 3.149 GB, free: 161.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005576/7.555, allocations: 0.7933 MB / 3.15 GB, free: 160.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.049e-05/7.555, allocations: 8 kB / 3.15 GB, free: 160.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005976/7.555, allocations: 75.41 kB / 3.15 GB, free: 160.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.936e-05/7.555, allocations: 15.95 kB / 3.15 GB, free: 160.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.485e-06/7.555, allocations: 11.88 kB / 3.15 GB, free: 160.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00857/7.564, allocations: 4.002 MB / 3.154 GB, free: 156.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002597/7.567, allocations: 0.8328 MB / 3.155 GB, free: 155.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/7.568, allocations: 52 kB / 3.155 GB, free: 155.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004289/7.572, allocations: 303.6 kB / 3.155 GB, free: 155.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006495/7.573, allocations: 157.8 kB / 3.155 GB, free: 155 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005332/7.573, allocations: 95.94 kB / 3.155 GB, free: 154.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002646/7.576, allocations: 1.242 MB / 3.156 GB, free: 153.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.13e-06/7.576, allocations: 0 / 3.156 GB, free: 153.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007559/7.584, allocations: 1.425 MB / 3.158 GB, free: 152.3 MB / 0.823 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 270 * 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.002574/7.586, allocations: 0.6598 MB / 3.158 GB, free: 151.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01346/7.6, allocations: 5.726 MB / 3.164 GB, free: 146 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/7.6, allocations: 1.125 kB / 3.164 GB, free: 146 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004284/7.604, allocations: 1.791 MB / 3.166 GB, free: 144.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/7.608, allocations: 0.5188 MB / 3.166 GB, free: 143.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/7.624, allocations: 6.157 MB / 3.172 GB, free: 137.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004264/7.628, allocations: 2.683 MB / 3.175 GB, free: 134.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01052/7.639, allocations: 1.421 MB / 3.176 GB, free: 133.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/7.641, allocations: 243.3 kB / 3.176 GB, free: 133.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.923e-06/7.641, allocations: 0 / 3.176 GB, free: 133.2 MB / 0.823 GB Notification: Performance of Templates: time 0.0954/7.736, allocations: 43.85 MB / 3.219 GB, free: 90.18 MB / 0.823 GB