Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01059/0.0106, allocations: 89.09 kB / 15.04 MB, free: 5.578 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.001195/0.001195, allocations: 170.3 kB / 15.92 MB, free: 5.551 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 1.962/1.962, allocations: 205.5 MB / 222.2 MB, free: 13.6 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.355/2.355, allocations: 252.8 MB / 0.511 GB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004913, allocations: 13.09 kB / 0.6243 GB, free: 21.19 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 106.2 MB / 0.7281 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008578/0.2343, allocations: 4.712 MB / 0.7327 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006183/0.2405, allocations: 2.504 MB / 0.7351 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.2412, allocations: 23.81 kB / 0.7351 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.2416, allocations: 91.38 kB / 0.7352 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.243, allocations: 326.9 kB / 0.7355 GB, free: 412 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.2444, allocations: 311.3 kB / 0.7358 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001481/0.2459, allocations: 0.5785 MB / 0.7364 GB, free: 15.52 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.248, allocations: 0.732 MB / 0.7371 GB, free: 14.75 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007389/0.2488, allocations: 283 kB / 0.7374 GB, free: 14.48 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006846/0.2495, allocations: 314.8 kB / 0.7377 GB, free: 14.17 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.92e-05/0.2496, allocations: 24 kB / 0.7377 GB, free: 14.14 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006115/0.2502, allocations: 151.8 kB / 0.7379 GB, free: 14 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.2505, allocations: 199.4 kB / 0.738 GB, free: 13.8 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.2508, allocations: 145.3 kB / 0.7382 GB, free: 13.65 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.252, allocations: 0.6976 MB / 0.7389 GB, free: 12.95 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2521, allocations: 0 / 0.7389 GB, free: 12.95 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2521, allocations: 0 / 0.7389 GB, free: 12.95 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.186e-05/0.2521, allocations: 0 / 0.7389 GB, free: 12.95 MB / 0.573 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.002183/0.2543, allocations: 0.849 MB / 0.7397 GB, free: 12.05 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.2544, allocations: 8.031 kB / 0.7397 GB, free: 12.04 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002048/0.2546, allocations: 90.52 kB / 0.7398 GB, free: 11.95 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.2565, allocations: 198.9 kB / 0.74 GB, free: 11.75 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.2578, allocations: 473.5 kB / 0.7404 GB, free: 11.25 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/0.2579, allocations: 40.95 kB / 0.7405 GB, free: 11.21 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.2581, allocations: 51.98 kB / 0.7405 GB, free: 11.16 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.2601, allocations: 0.8238 MB / 0.7413 GB, free: 10.25 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.2602, allocations: 11.84 kB / 0.7413 GB, free: 10.24 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/0.2603, allocations: 24 kB / 0.7414 GB, free: 10.21 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003353/0.2606, allocations: 64.94 kB / 0.7414 GB, free: 10.15 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.2622, allocations: 0.5619 MB / 0.742 GB, free: 9.59 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007425/0.2697, allocations: 4.597 MB / 0.7465 GB, free: 4.645 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008108/0.2706, allocations: 295.2 kB / 0.7467 GB, free: 4.348 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.2706, allocations: 4.281 kB / 0.7467 GB, free: 4.344 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.2707, allocations: 42.8 kB / 0.7468 GB, free: 4.293 MB / 0.573 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/0.2707, allocations: 0 / 0.7468 GB, free: 4.293 MB / 0.573 GB Notification: Performance of matching and sorting (n=40): time 0.009504/0.2802, allocations: 2.623 MB / 0.7493 GB, free: 1.543 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.2803, allocations: 55.41 kB / 0.7494 GB, free: 1.477 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007956/0.2811, allocations: 458 kB / 0.7498 GB, free: 1.02 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.244e-05/0.2812, allocations: 33.7 kB / 0.7499 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.2815, allocations: 343.7 kB / 0.7502 GB, free: 0.6367 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.2817, allocations: 145.9 kB / 0.7503 GB, free: 0.4922 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.2818, allocations: 12 kB / 0.7503 GB, free: 492 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.282, allocations: 362.8 kB / 0.7507 GB, free: 120 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.2826, allocations: 229 kB / 0.7509 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007782/0.2834, allocations: 406.4 kB / 0.7513 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007532/0.2842, allocations: 293.5 kB / 0.7516 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2842, allocations: 4 kB / 0.7516 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00289/0.2871, allocations: 0.9215 MB / 0.7525 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.2872, allocations: 4 kB / 0.7525 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.2873, allocations: 8 kB / 0.7525 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.2886, allocations: 230.8 kB / 0.7527 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/0.2896, allocations: 115.8 kB / 0.7528 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007753/0.2974, allocations: 5.001 MB / 0.7577 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007833/0.2983, allocations: 35.91 kB / 0.7577 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.982e-05/0.2983, allocations: 20 kB / 0.7578 GB, free: 8.375 MB / 0.5886 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.0004722/0.2988, allocations: 226.7 kB / 0.758 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.299, allocations: 71.14 kB / 0.758 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.3015, allocations: 0.7657 MB / 0.7588 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.3016, allocations: 4 kB / 0.7588 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.3016, allocations: 7.953 kB / 0.7588 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.485e-06/0.3016, allocations: 4 kB / 0.7588 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.3058, allocations: 1.494 MB / 0.7603 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.3058, allocations: 0 / 0.7603 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/0.3066, allocations: 75.89 kB / 0.7603 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.3078, allocations: 202.6 kB / 0.7605 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.3079, allocations: 19.88 kB / 0.7606 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007456/0.3154, allocations: 4.943 MB / 0.7654 GB, free: 52 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.3155, allocations: 4.031 kB / 0.7654 GB, free: 48 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.3187, allocations: 1.206 MB / 0.7666 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/0.3192, allocations: 172.3 kB / 0.7667 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.3194, allocations: 12 kB / 0.7667 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.32, allocations: 28.03 kB / 0.7668 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.3201, allocations: 39.83 kB / 0.7668 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.3202, allocations: 16 kB / 0.7668 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005545/0.3208, allocations: 310.9 kB / 0.7671 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3208, allocations: 3.938 kB / 0.7671 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001035/0.3218, allocations: 168 kB / 0.7673 GB, free: 14 MB / 0.6042 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.003808/0.3256, allocations: 2.267 MB / 0.7695 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002691/0.3284, allocations: 1.001 MB / 0.7705 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.3284, allocations: 0 / 0.7705 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.3301, allocations: 0.676 MB / 0.7711 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.3315, allocations: 162.1 kB / 0.7713 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.343, allocations: 7.313 MB / 0.7784 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008683/0.3439, allocations: 0.965 MB / 0.7794 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006949/0.3446, allocations: 113 kB / 0.7795 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/0.3451, allocations: 211.4 kB / 0.7797 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.3451, allocations: 0 / 0.7797 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05225/0.3973, allocations: 13.28 MB / 0.7926 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/0.3978, allocations: 218.4 kB / 0.7929 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.037/3.435, allocations: 7.875 kB / 0.7929 GB, free: 3.602 MB / 0.6198 GB