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.Lines.Examples.ACLine_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.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.01563/0.01564, allocations: 113.2 kB / 15.06 MB, free: 5.555 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.001238/0.001238, allocations: 183.5 kB / 15.95 MB, free: 5.52 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 2/2, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.338/2.338, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005309/0.0005311, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.667, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04718/0.7143, allocations: 28.78 MB / 0.7115 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03341/0.7477, allocations: 13.82 MB / 0.725 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004267/0.752, allocations: 129.8 kB / 0.7252 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00368/0.7558, allocations: 0.6983 MB / 0.7258 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.7666, allocations: 2.267 MB / 0.7281 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007092/0.7737, allocations: 1.406 MB / 0.7294 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01188/0.7857, allocations: 4.558 MB / 0.7339 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02458/0.8103, allocations: 9.84 MB / 0.7435 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007471/0.8178, allocations: 2.605 MB / 0.746 GB, free: 14.11 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006467/0.8244, allocations: 2.433 MB / 0.7484 GB, free: 11.67 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001764/0.8262, allocations: 296 kB / 0.7487 GB, free: 11.38 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00414/0.8304, allocations: 0.6984 MB / 0.7494 GB, free: 10.68 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.004426/0.8348, allocations: 2.085 MB / 0.7514 GB, free: 8.59 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002824/0.8377, allocations: 1.132 MB / 0.7525 GB, free: 7.449 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.8527, allocations: 9.048 MB / 0.7614 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8527, allocations: 0 / 0.7614 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.216e-06/0.8527, allocations: 0 / 0.7614 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003486/0.8531, allocations: 0 / 0.7614 GB, free: 14.38 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01757/0.8707, allocations: 4.86 MB / 0.7661 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.8708, allocations: 8.031 kB / 0.7661 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002841/0.8736, allocations: 0.7269 MB / 0.7668 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.8839, allocations: 1.125 MB / 0.7679 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.8947, allocations: 3.247 MB / 0.7711 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004748/0.8952, allocations: 370 kB / 0.7714 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/0.8972, allocations: 491.9 kB / 0.7719 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02336/0.9206, allocations: 7.927 MB / 0.7796 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002116/0.9208, allocations: 19.78 kB / 0.7797 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008937/0.9217, allocations: 220 kB / 0.7799 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001889/0.9236, allocations: 441.5 kB / 0.7803 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.9426, allocations: 6.042 MB / 0.7862 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06175/1.004, allocations: 35.21 MB / 0.8206 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004963/1.009, allocations: 2.015 MB / 0.8226 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/1.01, allocations: 21.95 kB / 0.8226 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.2e-05/1.01, allocations: 56.56 kB / 0.8226 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=171): time 5.09e-06/1.01, allocations: 0 / 0.8226 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=276): time 0.293/1.303, allocations: 38.98 MB / 0.8607 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/1.303, allocations: 85.53 kB / 0.8608 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005409/1.308, allocations: 2.251 MB / 0.863 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006182/1.309, allocations: 73.7 kB / 0.863 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002514/1.312, allocations: 2.276 MB / 0.8653 GB, free: 148 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.313, allocations: 0.9396 MB / 0.8662 GB, free: 15.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004161/1.314, allocations: 60 kB / 0.8662 GB, free: 15.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000288/1.314, allocations: 428.1 kB / 0.8667 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005533/1.32, allocations: 1.962 MB / 0.8686 GB, free: 12.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006209/1.326, allocations: 2.571 MB / 0.8711 GB, free: 9.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006642/1.332, allocations: 2.384 MB / 0.8734 GB, free: 7.527 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.629e-05/1.333, allocations: 4 kB / 0.8734 GB, free: 7.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.03374/1.366, allocations: 7.716 MB / 0.8809 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/1.366, allocations: 16.22 kB / 0.881 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-05/1.366, allocations: 19.94 kB / 0.881 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01731/1.384, allocations: 3.204 MB / 0.8841 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/1.387, allocations: 403.3 kB / 0.8845 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6713/2.059, allocations: 32.35 MB / 0.9161 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005816/2.064, allocations: 166.7 kB / 0.9162 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005531/2.065, allocations: 106.9 kB / 0.9164 GB, free: 192.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005351/2.07, allocations: 1.793 MB / 0.9181 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/2.072, allocations: 336.2 kB / 0.9184 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02609/2.098, allocations: 7.325 MB / 0.9256 GB, free: 188.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-05/2.098, allocations: 26.92 kB / 0.9256 GB, free: 188.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00014/2.098, allocations: 30.09 kB / 0.9256 GB, free: 188.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.669e-05/2.098, allocations: 14.58 kB / 0.9256 GB, free: 188.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03936/2.137, allocations: 12.91 MB / 0.9383 GB, free: 183.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.196e-05/2.137, allocations: 9.703 kB / 0.9383 GB, free: 183.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/2.139, allocations: 229.3 kB / 0.9385 GB, free: 183.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01491/2.154, allocations: 2.843 MB / 0.9413 GB, free: 183 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005376/2.155, allocations: 49.75 kB / 0.9413 GB, free: 183 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06312/2.218, allocations: 31.18 MB / 0.9718 GB, free: 163.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/2.218, allocations: 10.91 kB / 0.9718 GB, free: 163.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/2.237, allocations: 7.423 MB / 0.979 GB, free: 155.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002712/2.24, allocations: 0.7833 MB / 0.9798 GB, free: 154.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/2.241, allocations: 55.98 kB / 0.9798 GB, free: 154.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00319/2.245, allocations: 171.8 kB / 0.98 GB, free: 154.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/2.246, allocations: 249.5 kB / 0.9802 GB, free: 154 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002719/2.246, allocations: 84.31 kB / 0.9803 GB, free: 153.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00289/2.249, allocations: 1.502 MB / 0.9818 GB, free: 152.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.81e-07/2.249, allocations: 0 / 0.9818 GB, free: 152.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005707/2.255, allocations: 1.352 MB / 0.9831 GB, free: 151.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02002/2.275, allocations: 9.654 MB / 0.9925 GB, free: 141.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01813/2.293, allocations: 6.913 MB / 0.9993 GB, free: 134.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.769e-05/2.293, allocations: 4.312 kB / 0.9993 GB, free: 134.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01247/2.305, allocations: 4.41 MB / 1.004 GB, free: 129.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007078/2.313, allocations: 0.9902 MB / 1.005 GB, free: 128.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08724/2.4, allocations: 43.8 MB / 1.047 GB, free: 83.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009655/2.41, allocations: 3.741 MB / 1.051 GB, free: 79.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004697/2.414, allocations: 0.5517 MB / 1.052 GB, free: 78.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004912/2.419, allocations: 1.968 MB / 1.053 GB, free: 76.94 MB / 0.7292 GB Notification: Performance of SimCode: time 2.916e-06/2.419, allocations: 0 / 1.053 GB, free: 76.94 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2598/2.679, allocations: 107.3 MB / 1.158 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003632/2.68, allocations: 223.7 kB / 1.158 GB, free: 2.316 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.156/8.836, allocations: 0 / 1.158 GB, free: 2.316 MB / 0.7605 GB