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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.264/4.264, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.06e-05, allocations: 3.562 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.234, allocations: 98.73 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8981/1.132, allocations: 173.8 MB / 0.7986 GB, free: 63.63 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/1.133, allocations: 93.17 kB / 0.7987 GB, free: 63.63 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1228/1.255, allocations: 31.63 MB / 0.8296 GB, free: 60.11 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.693e-06/1.256, allocations: 3.938 kB / 0.8296 GB, free: 60.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.939e-05/1.256, allocations: 27.56 kB / 0.8296 GB, free: 60.09 MB / 0.6511 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.002048/1.258, allocations: 0.7986 MB / 0.8304 GB, free: 59.54 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.258, allocations: 7.75 kB / 0.8304 GB, free: 59.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/1.26, allocations: 206.2 kB / 0.8306 GB, free: 59.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/1.261, allocations: 0.4945 MB / 0.8311 GB, free: 59.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/1.261, allocations: 15.62 kB / 0.8311 GB, free: 59.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/1.261, allocations: 40.16 kB / 0.8311 GB, free: 59.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001076/1.262, allocations: 458.4 kB / 0.8316 GB, free: 59.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/1.264, allocations: 0.7905 MB / 0.8324 GB, free: 58.85 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/1.264, allocations: 0 / 0.8324 GB, free: 58.85 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/1.264, allocations: 7.891 kB / 0.8324 GB, free: 58.85 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.163e-05/1.264, allocations: 45.98 kB / 0.8324 GB, free: 58.85 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005502/1.27, allocations: 4.488 MB / 0.8368 GB, free: 55.17 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006272/1.27, allocations: 272.5 kB / 0.837 GB, free: 55.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/1.271, allocations: 210.6 kB / 0.8372 GB, free: 55.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-05/1.271, allocations: 7.969 kB / 0.8373 GB, free: 55.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/1.271, allocations: 34.25 kB / 0.8373 GB, free: 55.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.587e-06/1.271, allocations: 0 / 0.8373 GB, free: 55.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.005914/1.277, allocations: 1.989 MB / 0.8392 GB, free: 54.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/1.277, allocations: 55.28 kB / 0.8393 GB, free: 54.12 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/1.277, allocations: 337.8 kB / 0.8396 GB, free: 53.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.19e-05/1.278, allocations: 25.7 kB / 0.8396 GB, free: 53.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/1.278, allocations: 346.5 kB / 0.84 GB, free: 53.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/1.278, allocations: 132.5 kB / 0.8401 GB, free: 53.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/1.278, allocations: 0 / 0.8401 GB, free: 53.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.278, allocations: 368.8 kB / 0.8404 GB, free: 53.28 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/1.279, allocations: 219.9 kB / 0.8407 GB, free: 53.26 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/1.279, allocations: 363.9 kB / 0.841 GB, free: 53.06 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/1.28, allocations: 273.5 kB / 0.8413 GB, free: 53.01 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.28, allocations: 3.906 kB / 0.8413 GB, free: 53.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002435/1.282, allocations: 0.8212 MB / 0.8421 GB, free: 52.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/1.282, allocations: 7.812 kB / 0.8421 GB, free: 52.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.282, allocations: 3.906 kB / 0.8421 GB, free: 52.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/1.284, allocations: 221.9 kB / 0.8423 GB, free: 52.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/1.285, allocations: 102.1 kB / 0.8424 GB, free: 52.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/1.291, allocations: 4.742 MB / 0.847 GB, free: 48.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/1.291, allocations: 19.75 kB / 0.847 GB, free: 48.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/1.292, allocations: 23.47 kB / 0.8471 GB, free: 48.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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.0001878/1.292, allocations: 118.8 kB / 0.8472 GB, free: 48.59 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001888/1.294, allocations: 0.6786 MB / 0.8478 GB, free: 48.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/1.294, allocations: 58.69 kB / 0.8479 GB, free: 48.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/1.296, allocations: 0.7195 MB / 0.8486 GB, free: 48.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/1.296, allocations: 7.891 kB / 0.8486 GB, free: 48.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.296, allocations: 3.875 kB / 0.8486 GB, free: 48.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.296, allocations: 4.172 kB / 0.8486 GB, free: 48.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/1.299, allocations: 1.353 MB / 0.8499 GB, free: 47.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.299, allocations: 3.938 kB / 0.8499 GB, free: 47.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/1.3, allocations: 70.81 kB / 0.85 GB, free: 47.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/1.301, allocations: 204.9 kB / 0.8502 GB, free: 47.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/1.301, allocations: 3.953 kB / 0.8502 GB, free: 47.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005197/1.306, allocations: 4.669 MB / 0.8548 GB, free: 43.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.306, allocations: 7.875 kB / 0.8548 GB, free: 43.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/1.309, allocations: 1.143 MB / 0.8559 GB, free: 42.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/1.309, allocations: 169.9 kB / 0.856 GB, free: 42.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.309, allocations: 0 / 0.856 GB, free: 42.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/1.31, allocations: 23.64 kB / 0.8561 GB, free: 42.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/1.31, allocations: 39.08 kB / 0.8561 GB, free: 42.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/1.31, allocations: 15.41 kB / 0.8561 GB, free: 42.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003785/1.311, allocations: 257.3 kB / 0.8564 GB, free: 42.69 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/1.311, allocations: 0 / 0.8564 GB, free: 42.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009817/1.312, allocations: 160.5 kB / 0.8565 GB, free: 42.68 MB / 0.6511 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 () * 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.002728/1.314, allocations: 2.193 MB / 0.8587 GB, free: 41.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002133/1.316, allocations: 0.9375 MB / 0.8596 GB, free: 40.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.317, allocations: 0 / 0.8596 GB, free: 40.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/1.318, allocations: 0.6391 MB / 0.8602 GB, free: 40.35 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.319, allocations: 138.6 kB / 0.8603 GB, free: 40.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/1.322, allocations: 1.082 MB / 0.8614 GB, free: 39.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/1.323, allocations: 0.9549 MB / 0.8623 GB, free: 38.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006797/1.324, allocations: 119.3 kB / 0.8624 GB, free: 38.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/1.324, allocations: 207.2 kB / 0.8626 GB, free: 38.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.324, allocations: 0 / 0.8626 GB, free: 38.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05765/1.382, allocations: 11.97 MB / 0.8743 GB, free: 33.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/1.382, allocations: 168.6 kB / 0.8745 GB, free: 32.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/4.224, allocations: 0 / 0.8745 GB, free: 32.94 MB / 0.6511 GB