Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01012/0.01012, allocations: 89.69 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001169/0.001169, allocations: 175.6 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.015/2.015, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.459/2.459, allocations: 252.8 MB / 0.511 GB, free: 8.293 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004987, allocations: 14.98 kB / 0.6243 GB, free: 21.15 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2279, allocations: 106.2 MB / 0.7281 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.05437/0.2823, allocations: 28.79 MB / 0.7562 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0334/0.3158, allocations: 13.81 MB / 0.7697 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003722/0.3195, allocations: 127.2 kB / 0.7698 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003544/0.3231, allocations: 0.7065 MB / 0.7705 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.3335, allocations: 2.262 MB / 0.7727 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006997/0.3405, allocations: 1.411 MB / 0.7741 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.3522, allocations: 4.549 MB / 0.7785 GB, free: 4.297 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0251/0.3773, allocations: 9.821 MB / 0.7881 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00712/0.3845, allocations: 2.609 MB / 0.7907 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006269/0.3908, allocations: 2.417 MB / 0.793 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001862/0.3927, allocations: 296 kB / 0.7933 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/0.3968, allocations: 0.6945 MB / 0.794 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.004474/0.4014, allocations: 2.097 MB / 0.796 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003142/0.4045, allocations: 1.12 MB / 0.7971 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.42, allocations: 9.039 MB / 0.8059 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4201, allocations: 0 / 0.8059 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.056e-06/0.4201, allocations: 0 / 0.8059 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003702/0.4204, allocations: 0 / 0.8059 GB, free: 8.074 MB / 0.6355 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.02072/0.4412, allocations: 4.857 MB / 0.8107 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/0.4413, allocations: 8.031 kB / 0.8107 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003842/0.4451, allocations: 0.7268 MB / 0.8114 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01543/0.4606, allocations: 1.125 MB / 0.8125 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/0.4764, allocations: 3.232 MB / 0.8157 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007518/0.4772, allocations: 382 kB / 0.816 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002757/0.48, allocations: 491.9 kB / 0.8165 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03292/0.513, allocations: 7.919 MB / 0.8242 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003135/0.5133, allocations: 23.78 kB / 0.8242 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001677/0.515, allocations: 216 kB / 0.8245 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00193/0.517, allocations: 441.6 kB / 0.8249 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6149/1.132, allocations: 6.042 MB / 0.8308 GB, free: 87.83 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06099/1.193, allocations: 35.21 MB / 0.8652 GB, free: 60.33 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005063/1.198, allocations: 2.02 MB / 0.8671 GB, free: 59.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000347/1.198, allocations: 21.39 kB / 0.8671 GB, free: 59.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.596e-05/1.199, allocations: 57.56 kB / 0.8672 GB, free: 59.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=171): time 5.029e-06/1.199, allocations: 0 / 0.8672 GB, free: 59.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=276): time 0.3031/1.502, allocations: 38.99 MB / 0.9053 GB, free: 35.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/1.502, allocations: 85.58 kB / 0.9054 GB, free: 35.64 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004261/1.506, allocations: 2.254 MB / 0.9076 GB, free: 33.37 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006106/1.507, allocations: 73.7 kB / 0.9076 GB, free: 33.29 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001562/1.508, allocations: 2.276 MB / 0.9099 GB, free: 31 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/1.509, allocations: 0.9297 MB / 0.9108 GB, free: 30.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004267/1.51, allocations: 60 kB / 0.9108 GB, free: 30.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.51, allocations: 424.1 kB / 0.9112 GB, free: 29.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004534/1.515, allocations: 1.962 MB / 0.9131 GB, free: 27.63 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/1.52, allocations: 2.583 MB / 0.9157 GB, free: 24.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005413/1.525, allocations: 2.376 MB / 0.918 GB, free: 22.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/1.525, allocations: 8 kB / 0.918 GB, free: 22.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.02382/1.549, allocations: 7.706 MB / 0.9255 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/1.549, allocations: 12 kB / 0.9255 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/1.549, allocations: 20.83 kB / 0.9255 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01603/1.565, allocations: 3.221 MB / 0.9287 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003101/1.569, allocations: 396.6 kB / 0.9291 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09543/1.664, allocations: 32.35 MB / 0.9607 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005464/1.67, allocations: 163.8 kB / 0.9608 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000721/1.67, allocations: 112 kB / 0.9609 GB, free: 9.562 MB / 0.6823 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.00548/1.676, allocations: 1.8 MB / 0.9627 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.677, allocations: 328.1 kB / 0.963 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02519/1.702, allocations: 7.33 MB / 0.9702 GB, free: 20 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.791e-05/1.702, allocations: 28.05 kB / 0.9702 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001139/1.702, allocations: 28 kB / 0.9702 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.355e-05/1.702, allocations: 11.91 kB / 0.9702 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04206/1.745, allocations: 12.91 MB / 0.9828 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.446e-05/1.745, allocations: 8 kB / 0.9828 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/1.747, allocations: 229 kB / 0.9831 GB, free: 2.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01614/1.763, allocations: 2.857 MB / 0.9858 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00068/1.764, allocations: 56 kB / 0.9859 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07482/1.838, allocations: 31.18 MB / 1.016 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.345e-05/1.838, allocations: 11.94 kB / 1.016 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03166/1.87, allocations: 7.408 MB / 1.024 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003119/1.873, allocations: 0.7859 MB / 1.024 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/1.875, allocations: 59.94 kB / 1.024 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003888/1.878, allocations: 171.8 kB / 1.025 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00149/1.88, allocations: 249.5 kB / 1.025 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005288/1.881, allocations: 75.98 kB / 1.025 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004135/1.885, allocations: 1.502 MB / 1.026 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.042e-06/1.885, allocations: 4 kB / 1.026 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007153/1.892, allocations: 1.352 MB / 1.028 GB, free: 3.699 MB / 0.7448 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.02571/1.918, allocations: 9.652 MB / 1.037 GB, free: 9.719 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02169/1.939, allocations: 6.912 MB / 1.044 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.688e-05/1.94, allocations: 8.141 kB / 1.044 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01488/1.954, allocations: 4.41 MB / 1.048 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007888/1.962, allocations: 0.9859 MB / 1.049 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09994/2.062, allocations: 43.8 MB / 1.092 GB, free: 15.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007341/2.07, allocations: 3.737 MB / 1.096 GB, free: 12.03 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003494/2.073, allocations: 0.5556 MB / 1.096 GB, free: 11.47 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004018/2.077, allocations: 1.972 MB / 1.098 GB, free: 9.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.092e-06/2.077, allocations: 0 / 1.098 GB, free: 9.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9391/3.017, allocations: 107.3 MB / 1.203 GB, free: 270.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/3.017, allocations: 226.9 kB / 1.203 GB, free: 270.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.187/9.204, allocations: 4 kB / 1.203 GB, free: 270.7 MB / 0.8698 GB