Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01855/0.01855, allocations: 222.2 kB / 15.17 MB, free: 5.922 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.001829/0.001829, allocations: 175.2 kB / 16.06 MB, free: 5.836 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 3.954/3.954, allocations: 389 MB / 405.9 MB, free: 67.54 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.566/4.566, allocations: 472.3 MB / 0.9018 GB, free: 13.19 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007561/0.0007565, allocations: 12 kB / 1.008 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6425, allocations: 98.73 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.03361/0.6762, allocations: 23.29 MB / 1.127 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.1923/0.8686, allocations: 142.9 MB / 1.266 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003081/0.8717, allocations: 67.69 kB / 1.266 GB, free: 17.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.874, allocations: 416.5 kB / 1.267 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006085/0.8801, allocations: 1.429 MB / 1.268 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007322/0.8875, allocations: 1.833 MB / 1.27 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009408/0.8969, allocations: 6.505 MB / 1.276 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01516/0.9121, allocations: 6.883 MB / 1.283 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6715/1.584, allocations: 1.736 MB / 1.285 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005667/1.589, allocations: 2.354 MB / 1.287 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001633/1.591, allocations: 204.4 kB / 1.287 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/1.595, allocations: 0.6152 MB / 1.288 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003051/1.598, allocations: 1.478 MB / 1.289 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/1.6, allocations: 0.8688 MB / 1.29 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/1.611, allocations: 7.228 MB / 1.297 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.611, allocations: 0 / 1.297 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.655e-06/1.611, allocations: 1.438 kB / 1.297 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003024/1.611, allocations: 0 / 1.297 GB, free: 14.51 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1225 * Number of variables: 1225 Notification: Performance of Generate backend data structure: time 0.01486/1.626, allocations: 4.018 MB / 1.301 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.626, allocations: 12.88 kB / 1.301 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002658/1.629, allocations: 0.6481 MB / 1.302 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0291/1.658, allocations: 2.193 MB / 1.304 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/1.668, allocations: 2.472 MB / 1.306 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005603/1.669, allocations: 353.2 kB / 1.307 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002764/1.672, allocations: 454.5 kB / 1.307 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03591/1.708, allocations: 7.14 MB / 1.314 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002649/1.708, allocations: 12.44 kB / 1.314 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002155/1.71, allocations: 199.8 kB / 1.314 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005453/1.711, allocations: 259 kB / 1.315 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0357/1.747, allocations: 7.022 MB / 1.321 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06149/1.808, allocations: 27.08 MB / 1.348 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/1.827, allocations: 4.396 MB / 1.352 GB, free: 9.508 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008561/1.836, allocations: 2.122 MB / 1.354 GB, free: 9.148 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/1.837, allocations: 0.5197 MB / 1.355 GB, free: 8.641 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009413/1.847, allocations: 2.295 MB / 1.357 GB, free: 7.926 MB / 0.698 GB Notification: Performance of pre-optimization done (n=254): time 6.402e-06/1.847, allocations: 0 / 1.357 GB, free: 7.926 MB / 0.698 GB Notification: Performance of matching and sorting (n=257): time 0.03277/1.88, allocations: 8.028 MB / 1.365 GB, free: 4.969 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002734/1.88, allocations: 366.7 kB / 1.365 GB, free: 4.559 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004227/1.884, allocations: 1.731 MB / 1.367 GB, free: 4.043 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.885, allocations: 73.83 kB / 1.367 GB, free: 4.012 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002252/1.888, allocations: 1.794 MB / 1.369 GB, free: 2.891 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001783/1.889, allocations: 0.8553 MB / 1.37 GB, free: 2.266 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/1.89, allocations: 55.75 kB / 1.37 GB, free: 2.266 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002706/1.89, allocations: 418.7 kB / 1.37 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008192/1.898, allocations: 1.72 MB / 1.372 GB, free: 1.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009331/1.908, allocations: 2.43 MB / 1.374 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009029/1.917, allocations: 2.052 MB / 1.376 GB, free: 14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.18e-05/1.917, allocations: 8 kB / 1.376 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=349) (initialization): time 0.02087/1.938, allocations: 4.607 MB / 1.381 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006355/1.938, allocations: 0.6476 MB / 1.381 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.865e-05/1.938, allocations: 20 kB / 1.381 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.884e-05/1.939, allocations: 36 kB / 1.381 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009121/1.948, allocations: 0.8431 MB / 1.382 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-05/1.948, allocations: 41.06 kB / 1.382 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006931/1.955, allocations: 405.6 kB / 1.383 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/1.956, allocations: 140.8 kB / 1.383 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.956, allocations: 4 kB / 1.383 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01859/1.975, allocations: 4.083 MB / 1.387 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-05/1.975, allocations: 22.62 kB / 1.387 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.414e-05/1.975, allocations: 36.88 kB / 1.387 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008438/1.983, allocations: 0.7913 MB / 1.387 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.954e-05/1.983, allocations: 40.7 kB / 1.387 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006173/1.99, allocations: 363.9 kB / 1.388 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007843/1.99, allocations: 138.4 kB / 1.388 GB, free: 4.641 MB / 0.7136 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.conTim1.tNext,weaDat.conTim1.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 (349): * Single equations (assignments): 347 * 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.004708/1.995, allocations: 1.343 MB / 1.389 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.996, allocations: 250.9 kB / 1.39 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0212/2.017, allocations: 4.624 MB / 1.394 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.497e-05/2.017, allocations: 28.66 kB / 1.394 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/2.018, allocations: 0 / 1.394 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.78e-05/2.018, allocations: 15.95 kB / 1.394 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03355/2.051, allocations: 9.706 MB / 1.404 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/2.051, allocations: 4 kB / 1.404 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008816/2.06, allocations: 0.7858 MB / 1.404 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.55e-05/2.06, allocations: 15.98 kB / 1.404 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007258/2.061, allocations: 78.7 kB / 1.404 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.853e-05/2.061, allocations: 22.11 kB / 1.404 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/2.061, allocations: 0 / 1.404 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01832/2.079, allocations: 4.385 MB / 1.409 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003137/2.082, allocations: 0.8384 MB / 1.41 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/2.084, allocations: 47.25 kB / 1.41 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006023/2.09, allocations: 307.9 kB / 1.41 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007368/2.09, allocations: 168 kB / 1.41 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004601/2.091, allocations: 94.66 kB / 1.41 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003014/2.094, allocations: 1.249 MB / 1.411 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.91e-07/2.094, allocations: 0 / 1.411 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008096/2.102, allocations: 1.356 MB / 1.413 GB, free: 2.562 MB / 0.7292 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) * Number of clocked states: 0 () * 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.02114/2.123, allocations: 5.524 MB / 1.418 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.02768/2.151, allocations: 6.476 MB / 1.424 GB, free: 10 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/2.151, allocations: 7.859 kB / 1.424 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.009081/2.16, allocations: 2.053 MB / 1.426 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006102/2.166, allocations: 0.5616 MB / 1.427 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07709/2.244, allocations: 22.24 MB / 1.449 GB, free: 5.156 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004462/2.248, allocations: 2.745 MB / 1.451 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.01066/2.259, allocations: 1.294 MB / 1.453 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00515/2.264, allocations: 1.679 MB / 1.454 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of SimCode: time 1.834e-06/2.264, allocations: 0 / 1.454 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.188/2.452, allocations: 67.82 MB / 1.52 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003453/2.452, allocations: 304 kB / 1.521 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.979/7.431, allocations: 0 / 1.521 GB, free: 13.73 MB / 0.8386 GB