Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01076/0.01076, allocations: 222.3 kB / 15.17 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001188/0.001188, allocations: 179.9 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.158/4.158, allocations: 389.1 MB / 405.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.887/3.887, allocations: 472.3 MB / 0.9018 GB, free: 52 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004986, allocations: 15.98 kB / 1.008 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5418, allocations: 98.7 MB / 1.104 GB, free: 206 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.0131/0.5549, allocations: 9.63 MB / 1.113 GB, free: 199.4 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1509/0.7059, allocations: 138.8 MB / 1.249 GB, free: 71.26 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.7079, allocations: 27.88 kB / 1.249 GB, free: 71.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009674/0.7089, allocations: 166.5 kB / 1.249 GB, free: 71.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.7124, allocations: 0.7527 MB / 1.25 GB, free: 70.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.7161, allocations: 1.105 MB / 1.251 GB, free: 69.22 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003514/0.7197, allocations: 2.693 MB / 1.254 GB, free: 66.52 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004335/0.724, allocations: 2.282 MB / 1.256 GB, free: 64.29 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.7255, allocations: 0.8047 MB / 1.257 GB, free: 63.48 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.7272, allocations: 0.9904 MB / 1.258 GB, free: 62.48 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000399/0.7276, allocations: 64 kB / 1.258 GB, free: 62.42 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.7291, allocations: 439.3 kB / 1.258 GB, free: 61.99 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005246/0.7296, allocations: 466.1 kB / 1.258 GB, free: 61.54 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005529/0.7302, allocations: 452.3 kB / 1.259 GB, free: 61.09 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003493/0.7337, allocations: 3.142 MB / 1.262 GB, free: 57.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.7338, allocations: 0 / 1.262 GB, free: 57.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.318e-06/0.7338, allocations: 0 / 1.262 GB, free: 57.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.02e-05/0.7339, allocations: 0 / 1.262 GB, free: 57.94 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 650 * Number of variables: 650 Notification: Performance of Generate backend data structure: time 0.0052/0.7391, allocations: 2.39 MB / 1.264 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.7391, allocations: 16.03 kB / 1.264 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01322/0.7524, allocations: 1.787 MB / 1.266 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/0.7553, allocations: 1.369 MB / 1.267 GB, free: 52.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.7555, allocations: 189 kB / 1.268 GB, free: 52.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000692/0.7562, allocations: 244 kB / 1.268 GB, free: 51.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009849/0.766, allocations: 3.474 MB / 1.271 GB, free: 48.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.502e-05/0.7662, allocations: 3.938 kB / 1.271 GB, free: 48.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.7665, allocations: 108 kB / 1.271 GB, free: 48.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/0.7667, allocations: 112.5 kB / 1.271 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.7801, allocations: 4.063 MB / 1.275 GB, free: 43.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01929/0.7994, allocations: 10.11 MB / 1.285 GB, free: 33.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009423/0.8089, allocations: 2.834 MB / 1.288 GB, free: 30.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004273/0.8132, allocations: 1.319 MB / 1.289 GB, free: 29.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008386/0.8141, allocations: 0.5904 MB / 1.29 GB, free: 28.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004868/0.819, allocations: 1.581 MB / 1.291 GB, free: 27.03 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=194): time 6.046e-06/0.819, allocations: 3.562 kB / 1.291 GB, free: 27.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=195): time 0.01431/0.8333, allocations: 4.398 MB / 1.296 GB, free: 22.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.8335, allocations: 227.6 kB / 1.296 GB, free: 22.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.835, allocations: 1.031 MB / 1.297 GB, free: 21.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004103/0.8354, allocations: 61.7 kB / 1.297 GB, free: 21.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006995/0.8362, allocations: 0.8974 MB / 1.298 GB, free: 20.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000724/0.8369, allocations: 0.6352 MB / 1.299 GB, free: 19.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.8371, allocations: 40 kB / 1.299 GB, free: 19.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8372, allocations: 382 kB / 1.299 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004021/0.8413, allocations: 1.132 MB / 1.3 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004346/0.8457, allocations: 1.455 MB / 1.301 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004294/0.85, allocations: 1.282 MB / 1.303 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.85, allocations: 0 / 1.303 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01003/0.8601, allocations: 3.017 MB / 1.306 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.8603, allocations: 335.8 kB / 1.306 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.8603, allocations: 8 kB / 1.306 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.245e-05/0.8604, allocations: 16.56 kB / 1.306 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/0.8644, allocations: 0.5695 MB / 1.307 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.463e-05/0.8645, allocations: 23.88 kB / 1.307 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/0.8674, allocations: 282.6 kB / 1.307 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/0.8678, allocations: 99.92 kB / 1.307 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.8678, allocations: 7.594 kB / 1.307 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00909/0.8769, allocations: 2.81 MB / 1.31 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.877, allocations: 4 kB / 1.31 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.877, allocations: 16 kB / 1.31 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003865/0.8809, allocations: 0.5544 MB / 1.31 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.581e-05/0.8809, allocations: 23.92 kB / 1.31 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/0.8838, allocations: 274.6 kB / 1.311 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004242/0.8842, allocations: 99.52 kB / 1.311 GB, free: 7.031 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 237 * 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.001422/0.8857, allocations: 0.5843 MB / 1.311 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004351/0.8861, allocations: 162 kB / 1.311 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.8972, allocations: 3.227 MB / 1.315 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.8972, allocations: 23.94 kB / 1.315 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.8973, allocations: 3.312 kB / 1.315 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.453e-05/0.8973, allocations: 11.95 kB / 1.315 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.9134, allocations: 5.958 MB / 1.32 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.9135, allocations: 0 / 1.32 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004112/0.9176, allocations: 0.5305 MB / 1.321 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-05/0.9177, allocations: 11.47 kB / 1.321 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003446/0.918, allocations: 63.94 kB / 1.321 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.849e-05/0.9181, allocations: 11.94 kB / 1.321 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.8e-06/0.9181, allocations: 0 / 1.321 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.9284, allocations: 2.911 MB / 1.324 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/0.9301, allocations: 0.5919 MB / 1.324 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005106/0.9307, allocations: 35.95 kB / 1.324 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002893/0.9336, allocations: 227.7 kB / 1.325 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003971/0.934, allocations: 125.8 kB / 1.325 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003304/0.9343, allocations: 75.94 kB / 1.325 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001531/0.9359, allocations: 0.7387 MB / 1.326 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.84e-07/0.9359, allocations: 3.938 kB / 1.326 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004033/0.94, allocations: 0.8085 MB / 1.326 GB, free: 6.832 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 206 * 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.00232/0.9423, allocations: 0.6475 MB / 1.327 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01569/0.958, allocations: 4.444 MB / 1.331 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.109e-06/0.9581, allocations: 0 / 1.331 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005151/0.9632, allocations: 1.406 MB / 1.333 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/0.9657, allocations: 330.8 kB / 1.333 GB, free: 256 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4442/1.41, allocations: 5.345 MB / 1.338 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/1.412, allocations: 1.58 MB / 1.34 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006026/1.418, allocations: 0.7969 MB / 1.341 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/1.419, allocations: 206.5 kB / 1.341 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.598e-06/1.419, allocations: 2.875 kB / 1.341 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.06626/1.485, allocations: 26.34 MB / 1.366 GB, free: 199.7 MB / 0.7292 GB