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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadModel(Buildings): time 3.94/3.94, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.128e-05, allocations: 4.266 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1738, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.904/6.077, allocations: 2.234 GB / 2.869 GB, free: 129.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/6.078, allocations: 99.94 kB / 2.869 GB, free: 129 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.019/7.097, allocations: 162.3 MB / 3.027 GB, free: 222.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.538e-06/7.097, allocations: 0 / 3.027 GB, free: 222.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002861/7.097, allocations: 89.25 kB / 3.027 GB, free: 222.3 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: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.01109/7.108, allocations: 3.454 MB / 3.031 GB, free: 220.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/7.109, allocations: 11.69 kB / 3.031 GB, free: 220.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/7.125, allocations: 1.838 MB / 3.032 GB, free: 220.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006305/7.131, allocations: 2.144 MB / 3.035 GB, free: 220.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000377/7.131, allocations: 301.5 kB / 3.035 GB, free: 220.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/7.133, allocations: 385.3 kB / 3.035 GB, free: 220.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01731/7.151, allocations: 5.561 MB / 3.041 GB, free: 219.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001806/7.151, allocations: 17.25 kB / 3.041 GB, free: 219.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001592/7.152, allocations: 182.1 kB / 3.041 GB, free: 219.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002449/7.153, allocations: 191.4 kB / 3.041 GB, free: 219.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/7.167, allocations: 5.357 MB / 3.046 GB, free: 219.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04396/7.211, allocations: 22.95 MB / 3.069 GB, free: 209.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008675/7.22, allocations: 3.54 MB / 3.072 GB, free: 209 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003795/7.224, allocations: 1.635 MB / 3.074 GB, free: 209 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009539/7.225, allocations: 0.509 MB / 3.074 GB, free: 208.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004567/7.23, allocations: 1.829 MB / 3.076 GB, free: 208.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=240): time 8.507e-06/7.23, allocations: 0 / 3.076 GB, free: 208.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=243): time 0.01318/7.243, allocations: 5.093 MB / 3.081 GB, free: 206.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/7.243, allocations: 426.1 kB / 3.081 GB, free: 205.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002961/7.246, allocations: 1.455 MB / 3.083 GB, free: 205 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000669/7.247, allocations: 75.22 kB / 3.083 GB, free: 205 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001587/7.248, allocations: 1.557 MB / 3.084 GB, free: 203.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/7.25, allocations: 0.8061 MB / 3.085 GB, free: 203.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005025/7.25, allocations: 55.12 kB / 3.085 GB, free: 203.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002206/7.25, allocations: 412.2 kB / 3.086 GB, free: 202.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/7.254, allocations: 1.335 MB / 3.087 GB, free: 202.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004202/7.258, allocations: 2.05 MB / 3.089 GB, free: 200.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/7.262, allocations: 1.676 MB / 3.091 GB, free: 200.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.391e-05/7.262, allocations: 7.219 kB / 3.091 GB, free: 200.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01053/7.273, allocations: 3.809 MB / 3.094 GB, free: 198.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001455/7.274, allocations: 7.143 MB / 3.101 GB, free: 191.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.722e-05/7.274, allocations: 23.44 kB / 3.101 GB, free: 191.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.079e-05/7.274, allocations: 31.44 kB / 3.101 GB, free: 191.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006195/7.281, allocations: 0.8082 MB / 3.102 GB, free: 191.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.999e-05/7.281, allocations: 50.7 kB / 3.102 GB, free: 191.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00458/7.285, allocations: 392.6 kB / 3.103 GB, free: 190.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008152/7.286, allocations: 134.7 kB / 3.103 GB, free: 190.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/7.286, allocations: 6.594 kB / 3.103 GB, free: 190.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008943/7.295, allocations: 3.394 MB / 3.106 GB, free: 189.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.599e-05/7.295, allocations: 21.84 kB / 3.106 GB, free: 189.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.389e-05/7.295, allocations: 33.97 kB / 3.106 GB, free: 189.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005872/7.301, allocations: 0.7726 MB / 3.107 GB, free: 189.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.258e-05/7.301, allocations: 41.88 kB / 3.107 GB, free: 189.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004614/7.306, allocations: 355.3 kB / 3.107 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008201/7.307, allocations: 135.5 kB / 3.107 GB, free: 189.4 MB / 0.823 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.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 (338): * Single equations (assignments): 336 * 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.001167/7.308, allocations: 272.9 kB / 3.108 GB, free: 189.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007263/7.309, allocations: 228.1 kB / 3.108 GB, free: 189.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/7.319, allocations: 3.689 MB / 3.111 GB, free: 187.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.052e-05/7.319, allocations: 24.66 kB / 3.111 GB, free: 187.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/7.319, allocations: 0 / 3.111 GB, free: 187.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.644e-05/7.319, allocations: 16.88 kB / 3.111 GB, free: 187.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/7.338, allocations: 8.214 MB / 3.119 GB, free: 182.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/7.338, allocations: 3.375 kB / 3.119 GB, free: 182.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005087/7.343, allocations: 0.7227 MB / 3.12 GB, free: 182.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.975e-05/7.343, allocations: 12 kB / 3.12 GB, free: 182.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005766/7.344, allocations: 70.77 kB / 3.12 GB, free: 182.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.91e-05/7.344, allocations: 10.44 kB / 3.12 GB, free: 182.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.101e-06/7.344, allocations: 4 kB / 3.12 GB, free: 182.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00761/7.352, allocations: 3.64 MB / 3.124 GB, free: 178.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/7.354, allocations: 0.7724 MB / 3.125 GB, free: 177.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009382/7.355, allocations: 51.95 kB / 3.125 GB, free: 177.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003959/7.359, allocations: 278.1 kB / 3.125 GB, free: 177.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000597/7.359, allocations: 153.2 kB / 3.125 GB, free: 177.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004204/7.36, allocations: 97.62 kB / 3.125 GB, free: 177.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002412/7.362, allocations: 1.177 MB / 3.126 GB, free: 176.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.084e-06/7.362, allocations: 0 / 3.126 GB, free: 176.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007282/7.37, allocations: 1.342 MB / 3.128 GB, free: 175.1 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 (258): * Single equations (assignments): 256 * 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.002511/7.372, allocations: 0.6706 MB / 3.128 GB, free: 174.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01206/7.384, allocations: 5.334 MB / 3.133 GB, free: 169.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.88e-06/7.384, allocations: 0 / 3.133 GB, free: 169.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00371/7.388, allocations: 1.607 MB / 3.135 GB, free: 168.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/7.391, allocations: 462.8 kB / 3.135 GB, free: 168 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/7.406, allocations: 5.605 MB / 3.141 GB, free: 163 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003674/7.409, allocations: 2.504 MB / 3.143 GB, free: 161 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.009726/7.419, allocations: 1.4 MB / 3.145 GB, free: 160 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/7.421, allocations: 238.2 kB / 3.145 GB, free: 159.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.98e-06/7.421, allocations: 0 / 3.145 GB, free: 159.8 MB / 0.823 GB Notification: Performance of Templates: time 0.09016/7.511, allocations: 40.2 MB / 3.184 GB, free: 125.3 MB / 0.823 GB