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.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.02347/0.02347, allocations: 106.3 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.004561/0.004561, allocations: 179.2 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 1.968/1.968, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.316/2.316, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004886, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6651/0.6656, allocations: 98.71 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007642/0.6733, allocations: 4.699 MB / 0.688 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005829/0.6792, allocations: 2.489 MB / 0.6905 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007311/0.68, allocations: 21.72 kB / 0.6905 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.6804, allocations: 95.27 kB / 0.6906 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.6819, allocations: 327.6 kB / 0.6909 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.6834, allocations: 300.1 kB / 0.6912 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001456/0.6849, allocations: 0.5802 MB / 0.6917 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.6868, allocations: 0.7423 MB / 0.6925 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007547/0.6875, allocations: 290 kB / 0.6927 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/0.6882, allocations: 297.6 kB / 0.693 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.6883, allocations: 26.31 kB / 0.693 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006537/0.689, allocations: 156.3 kB / 0.6932 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.6893, allocations: 199.6 kB / 0.6934 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.6896, allocations: 145.2 kB / 0.6935 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.691, allocations: 0.6935 MB / 0.6942 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.691, allocations: 0 / 0.6942 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.435e-06/0.691, allocations: 0 / 0.6942 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.508e-05/0.6911, allocations: 0 / 0.6942 GB, free: 10.15 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002149/0.6932, allocations: 0.8419 MB / 0.695 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.6933, allocations: 13.97 kB / 0.695 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002133/0.6935, allocations: 109 kB / 0.6951 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.6955, allocations: 183.5 kB / 0.6953 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.6968, allocations: 483.4 kB / 0.6958 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.6969, allocations: 41 kB / 0.6958 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.6971, allocations: 51.67 kB / 0.6959 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.699, allocations: 0.8227 MB / 0.6967 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.6991, allocations: 6.875 kB / 0.6967 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/0.6992, allocations: 31.52 kB / 0.6967 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003457/0.6996, allocations: 63.69 kB / 0.6968 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.7012, allocations: 0.5691 MB / 0.6973 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006188/0.7074, allocations: 4.595 MB / 0.7018 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.7081, allocations: 290.1 kB / 0.7021 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/0.7082, allocations: 8.344 kB / 0.7021 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.7082, allocations: 41.55 kB / 0.7021 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 2.915e-06/0.7083, allocations: 0 / 0.7021 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40): time 0.00911/0.7174, allocations: 2.634 MB / 0.7047 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.7175, allocations: 59.22 kB / 0.7048 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007605/0.7182, allocations: 453.5 kB / 0.7052 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.892e-05/0.7183, allocations: 35.92 kB / 0.7052 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.7186, allocations: 343.1 kB / 0.7055 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.7187, allocations: 144.6 kB / 0.7057 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.7188, allocations: 10.56 kB / 0.7057 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7189, allocations: 363.6 kB / 0.706 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.7195, allocations: 237.1 kB / 0.7063 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.7202, allocations: 406.7 kB / 0.7067 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.7209, allocations: 295.4 kB / 0.7069 GB, free: 416 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.7209, allocations: 1.5 kB / 0.7069 GB, free: 416 kB / 0.5261 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002835/0.7238, allocations: 0.9129 MB / 0.7078 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.7238, allocations: 6.875 kB / 0.7078 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.7238, allocations: 9.594 kB / 0.7078 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.7252, allocations: 231.1 kB / 0.7081 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.7262, allocations: 112.3 kB / 0.7082 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007786/0.734, allocations: 5.009 MB / 0.7131 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009631/0.7351, allocations: 30.75 kB / 0.7131 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-05/0.7352, allocations: 22.47 kB / 0.7131 GB, free: 11.06 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005412/0.7357, allocations: 228.5 kB / 0.7133 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.7359, allocations: 60.58 kB / 0.7134 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/0.7385, allocations: 0.7689 MB / 0.7141 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.7386, allocations: 3.781 kB / 0.7141 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.7386, allocations: 7.641 kB / 0.7142 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.7386, allocations: 4.641 kB / 0.7142 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004326/0.7429, allocations: 1.498 MB / 0.7156 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.743, allocations: 10.41 kB / 0.7156 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/0.7437, allocations: 69.05 kB / 0.7157 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.745, allocations: 210.2 kB / 0.7159 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/0.745, allocations: 11.42 kB / 0.7159 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007132/0.7522, allocations: 4.942 MB / 0.7207 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.7522, allocations: 1.875 kB / 0.7207 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.7555, allocations: 1.209 MB / 0.7219 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/0.756, allocations: 174.1 kB / 0.7221 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.7562, allocations: 8.344 kB / 0.7221 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005863/0.7567, allocations: 27.41 kB / 0.7221 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.7569, allocations: 39.48 kB / 0.7222 GB, free: 3.496 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.757, allocations: 18.22 kB / 0.7222 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005535/0.7575, allocations: 312.8 kB / 0.7225 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.11e-07/0.7576, allocations: 0 / 0.7225 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001172/0.7587, allocations: 167 kB / 0.7226 GB, free: 3.281 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003646/0.7624, allocations: 2.256 MB / 0.7248 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002598/0.7651, allocations: 1.006 MB / 0.7258 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.7651, allocations: 1.344 kB / 0.7258 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.7668, allocations: 0.682 MB / 0.7265 GB, free: 220 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.7683, allocations: 165.1 kB / 0.7266 GB, free: 88 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.7799, allocations: 7.325 MB / 0.7338 GB, free: 8.578 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008351/0.7807, allocations: 0.9572 MB / 0.7347 GB, free: 7.594 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0007252/0.7815, allocations: 109 kB / 0.7348 GB, free: 7.484 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004631/0.782, allocations: 215.4 kB / 0.735 GB, free: 7.277 MB / 0.5574 GB Notification: Performance of SimCode: time 1.012e-06/0.782, allocations: 0 / 0.735 GB, free: 7.277 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04855/0.8305, allocations: 13.27 MB / 0.748 GB, free: 10.22 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/0.8309, allocations: 230.8 kB / 0.7482 GB, free: 9.98 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.896/3.726, allocations: 0 / 0.7482 GB, free: 9.98 MB / 0.573 GB