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_N.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_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",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.01092/0.01092, allocations: 106.2 kB / 15.06 MB, free: 6.027 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.00127/0.00127, allocations: 182.6 kB / 15.95 MB, free: 5.953 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 1.921/1.921, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.38/2.38, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006838/0.000684, allocations: 8 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7948/0.7956, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.03619/0.8318, allocations: 21.73 MB / 0.7047 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2586/1.09, allocations: 133.6 MB / 0.8352 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003596/1.094, allocations: 55.75 kB / 0.8352 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002634/1.097, allocations: 408.9 kB / 0.8356 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007032/1.104, allocations: 1.301 MB / 0.8369 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008513/1.112, allocations: 1.809 MB / 0.8386 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007774/1.12, allocations: 2.891 MB / 0.8415 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01635/1.137, allocations: 6.39 MB / 0.8477 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00487/1.142, allocations: 1.479 MB / 0.8491 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005529/1.147, allocations: 1.665 MB / 0.8508 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00169/1.149, allocations: 184 kB / 0.8509 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003875/1.153, allocations: 0.5424 MB / 0.8515 GB, free: 1.848 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003691/1.157, allocations: 1.258 MB / 0.8527 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002391/1.159, allocations: 0.7964 MB / 0.8535 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01486/1.174, allocations: 6.627 MB / 0.8599 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.174, allocations: 0 / 0.8599 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.136e-06/1.174, allocations: 0 / 0.8599 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002453/1.174, allocations: 0 / 0.8599 GB, free: 9.137 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: 1142 * Number of variables: 1142 Notification: Performance of Generate backend data structure: time 0.0189/1.193, allocations: 3.794 MB / 0.8637 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/1.193, allocations: 16.02 kB / 0.8637 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002897/1.196, allocations: 0.6048 MB / 0.8643 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03332/1.23, allocations: 2.121 MB / 0.8663 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007555/1.237, allocations: 2.289 MB / 0.8686 GB, free: 152 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004899/1.238, allocations: 328.8 kB / 0.8689 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001899/1.24, allocations: 431.9 kB / 0.8693 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02613/1.266, allocations: 6.634 MB / 0.8758 GB, free: 8.578 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002295/1.266, allocations: 3.938 kB / 0.8758 GB, free: 8.574 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001653/1.268, allocations: 188 kB / 0.876 GB, free: 8.391 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004664/1.268, allocations: 231.5 kB / 0.8762 GB, free: 8.164 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03119/1.299, allocations: 6.68 MB / 0.8827 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05939/1.359, allocations: 23.85 MB / 0.906 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01964/1.379, allocations: 4.317 MB / 0.9102 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/1.38, allocations: 0.5112 MB / 0.9107 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009213/1.389, allocations: 2.096 MB / 0.9127 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=240): time 6.282e-06/1.389, allocations: 0 / 0.9127 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=243): time 0.6166/2.006, allocations: 7.308 MB / 0.9199 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/2.006, allocations: 362.9 kB / 0.9202 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004298/2.01, allocations: 1.655 MB / 0.9218 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007759/2.011, allocations: 75.23 kB / 0.9219 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002141/2.013, allocations: 1.68 MB / 0.9236 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/2.015, allocations: 0.8124 MB / 0.9244 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/2.015, allocations: 54.66 kB / 0.9244 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002159/2.016, allocations: 409.3 kB / 0.9248 GB, free: 202.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00822/2.024, allocations: 1.612 MB / 0.9264 GB, free: 201.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008824/2.033, allocations: 2.308 MB / 0.9286 GB, free: 200.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008787/2.042, allocations: 1.931 MB / 0.9305 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.954e-05/2.042, allocations: 5.5 kB / 0.9305 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01991/2.062, allocations: 4.365 MB / 0.9348 GB, free: 197.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001575/2.063, allocations: 7.25 MB / 0.9419 GB, free: 190.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.677e-05/2.063, allocations: 21.83 kB / 0.9419 GB, free: 190.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001039/2.064, allocations: 37.61 kB / 0.9419 GB, free: 190.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008781/2.072, allocations: 0.8202 MB / 0.9427 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001096/2.072, allocations: 42.62 kB / 0.9428 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00632/2.079, allocations: 391.6 kB / 0.9431 GB, free: 190 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007727/2.08, allocations: 143.4 kB / 0.9433 GB, free: 190 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/2.08, allocations: 4.75 kB / 0.9433 GB, free: 190 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01798/2.098, allocations: 3.934 MB / 0.9471 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.448e-05/2.098, allocations: 18.69 kB / 0.9471 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.624e-05/2.098, allocations: 34.48 kB / 0.9472 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008287/2.106, allocations: 0.7885 MB / 0.9479 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.474e-05/2.106, allocations: 43.34 kB / 0.948 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005869/2.112, allocations: 351 kB / 0.9483 GB, free: 188.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008721/2.113, allocations: 135.8 kB / 0.9484 GB, free: 188.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (339): * Single equations (assignments): 337 * 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.004205/2.117, allocations: 1.276 MB / 0.9497 GB, free: 187.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009485/2.118, allocations: 229 kB / 0.9499 GB, free: 187.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02035/2.139, allocations: 4.225 MB / 0.954 GB, free: 185.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.313e-05/2.139, allocations: 25.38 kB / 0.9541 GB, free: 185.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/2.139, allocations: 5.078 kB / 0.9541 GB, free: 185.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.224e-05/2.139, allocations: 12.36 kB / 0.9541 GB, free: 185.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02992/2.169, allocations: 8.991 MB / 0.9629 GB, free: 180.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/2.169, allocations: 4.031 kB / 0.9629 GB, free: 180.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007685/2.177, allocations: 0.7281 MB / 0.9636 GB, free: 180.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.01e-05/2.177, allocations: 11.69 kB / 0.9636 GB, free: 180.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006429/2.177, allocations: 71.12 kB / 0.9636 GB, free: 180.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.032e-05/2.177, allocations: 15.31 kB / 0.9637 GB, free: 180.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/2.177, allocations: 6.812 kB / 0.9637 GB, free: 180.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/2.194, allocations: 4.18 MB / 0.9677 GB, free: 177.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002673/2.196, allocations: 0.7822 MB / 0.9685 GB, free: 176.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/2.198, allocations: 47.95 kB / 0.9686 GB, free: 176.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005719/2.203, allocations: 288.8 kB / 0.9688 GB, free: 175.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007899/2.204, allocations: 145.8 kB / 0.969 GB, free: 175.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000477/2.205, allocations: 99.92 kB / 0.9691 GB, free: 175.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002634/2.207, allocations: 1.189 MB / 0.9702 GB, free: 174.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.52e-07/2.207, allocations: 0 / 0.9702 GB, free: 174.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008044/2.216, allocations: 1.27 MB / 0.9715 GB, free: 173.2 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 (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.01953/2.235, allocations: 5.885 MB / 0.9772 GB, free: 167.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02482/2.26, allocations: 6.089 MB / 0.9832 GB, free: 161.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.164e-05/2.26, allocations: 0 / 0.9832 GB, free: 161.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00767/2.268, allocations: 1.871 MB / 0.985 GB, free: 159.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/2.272, allocations: 468.4 kB / 0.9854 GB, free: 159 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03073/2.303, allocations: 23.7 MB / 1.009 GB, free: 134.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003143/2.306, allocations: 2.594 MB / 1.011 GB, free: 131.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00989/2.316, allocations: 1.291 MB / 1.012 GB, free: 130.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004414/2.32, allocations: 1.534 MB / 1.014 GB, free: 129.1 MB / 0.7292 GB Notification: Performance of SimCode: time 1.382e-06/2.32, allocations: 0 / 1.014 GB, free: 129.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1866/2.507, allocations: 62.16 MB / 1.075 GB, free: 67.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/2.507, allocations: 296.2 kB / 1.075 GB, free: 66.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.1/7.607, allocations: 0 / 1.075 GB, free: 66.97 MB / 0.7292 GB