Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.243/4.243, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.867e-05, allocations: 3.281 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2125, allocations: 98.74 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9455/1.158, allocations: 167.1 MB / 0.7921 GB, free: 63.38 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/1.158, allocations: 94.69 kB / 0.7922 GB, free: 63.38 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1151/1.274, allocations: 31.09 MB / 0.8226 GB, free: 59.87 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.332e-06/1.274, allocations: 0 / 0.8226 GB, free: 59.87 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.945e-05/1.274, allocations: 19.62 kB / 0.8226 GB, free: 59.87 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.001645/1.275, allocations: 0.8038 MB / 0.8234 GB, free: 59.31 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.275, allocations: 7.781 kB / 0.8234 GB, free: 59.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/1.277, allocations: 205.3 kB / 0.8236 GB, free: 59.26 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/1.279, allocations: 489.4 kB / 0.8241 GB, free: 58.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/1.279, allocations: 23.52 kB / 0.8241 GB, free: 58.97 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/1.279, allocations: 38.44 kB / 0.8241 GB, free: 58.97 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001019/1.28, allocations: 462.3 kB / 0.8246 GB, free: 58.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/1.281, allocations: 0.7791 MB / 0.8253 GB, free: 58.63 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/1.281, allocations: 7.844 kB / 0.8253 GB, free: 58.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/1.281, allocations: 3.906 kB / 0.8253 GB, free: 58.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.011e-05/1.281, allocations: 51 kB / 0.8254 GB, free: 58.62 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00503/1.286, allocations: 4.476 MB / 0.8297 GB, free: 55.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/1.287, allocations: 278.6 kB / 0.83 GB, free: 55.17 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/1.287, allocations: 213.4 kB / 0.8302 GB, free: 55.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/1.288, allocations: 3.906 kB / 0.8302 GB, free: 55.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/1.288, allocations: 37.91 kB / 0.8303 GB, free: 55.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.496e-06/1.288, allocations: 0 / 0.8303 GB, free: 55.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.005478/1.293, allocations: 1.977 MB / 0.8322 GB, free: 54.51 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/1.293, allocations: 55.31 kB / 0.8322 GB, free: 54.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/1.294, allocations: 343.9 kB / 0.8326 GB, free: 54.33 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/1.294, allocations: 25.7 kB / 0.8326 GB, free: 54.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/1.294, allocations: 342.9 kB / 0.8329 GB, free: 54.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.294, allocations: 135.5 kB / 0.8331 GB, free: 54.01 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/1.294, allocations: 3.938 kB / 0.8331 GB, free: 54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/1.294, allocations: 367.3 kB / 0.8334 GB, free: 53.68 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/1.295, allocations: 217.2 kB / 0.8336 GB, free: 53.68 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/1.295, allocations: 361.6 kB / 0.834 GB, free: 53.51 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/1.296, allocations: 276.6 kB / 0.8342 GB, free: 53.49 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.296, allocations: 0 / 0.8342 GB, free: 53.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002272/1.298, allocations: 0.8227 MB / 0.835 GB, free: 53.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.298, allocations: 10.92 kB / 0.835 GB, free: 53.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.298, allocations: 3.969 kB / 0.835 GB, free: 53.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/1.299, allocations: 217.1 kB / 0.8352 GB, free: 53.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/1.3, allocations: 112.4 kB / 0.8354 GB, free: 53.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005471/1.306, allocations: 4.732 MB / 0.84 GB, free: 49.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000822/1.307, allocations: 19.12 kB / 0.84 GB, free: 49.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/1.307, allocations: 27.27 kB / 0.84 GB, free: 49.68 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.0001643/1.307, allocations: 116.7 kB / 0.8401 GB, free: 49.56 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001855/1.309, allocations: 0.673 MB / 0.8408 GB, free: 49.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/1.309, allocations: 61.98 kB / 0.8408 GB, free: 49.42 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/1.311, allocations: 0.7212 MB / 0.8415 GB, free: 49.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.311, allocations: 3.844 kB / 0.8416 GB, free: 49.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.311, allocations: 8.078 kB / 0.8416 GB, free: 49.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/1.311, allocations: 7.047 kB / 0.8416 GB, free: 49.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/1.314, allocations: 1.347 MB / 0.8429 GB, free: 48.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.314, allocations: 7.75 kB / 0.8429 GB, free: 48.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/1.315, allocations: 63.52 kB / 0.843 GB, free: 48.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/1.316, allocations: 199.4 kB / 0.8431 GB, free: 48.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/1.316, allocations: 7.531 kB / 0.8431 GB, free: 48.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005193/1.321, allocations: 4.664 MB / 0.8477 GB, free: 45.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/1.321, allocations: 3.469 kB / 0.8477 GB, free: 45.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/1.324, allocations: 1.158 MB / 0.8488 GB, free: 44.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/1.324, allocations: 171 kB / 0.849 GB, free: 44.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.82e-05/1.324, allocations: 3.969 kB / 0.849 GB, free: 44.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005256/1.325, allocations: 15.81 kB / 0.849 GB, free: 44.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.325, allocations: 43.09 kB / 0.8491 GB, free: 44.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/1.325, allocations: 11.39 kB / 0.8491 GB, free: 44.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003408/1.325, allocations: 253.3 kB / 0.8493 GB, free: 44.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/1.325, allocations: 0 / 0.8493 GB, free: 44.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009517/1.326, allocations: 160.6 kB / 0.8495 GB, free: 44.57 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.002733/1.329, allocations: 2.191 MB / 0.8516 GB, free: 43.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002035/1.331, allocations: 0.9275 MB / 0.8525 GB, free: 42.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.331, allocations: 3.906 kB / 0.8525 GB, free: 42.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/1.332, allocations: 0.6359 MB / 0.8531 GB, free: 42.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/1.334, allocations: 148.2 kB / 0.8533 GB, free: 42.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/1.336, allocations: 1.069 MB / 0.8543 GB, free: 41.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/1.337, allocations: 0.9695 MB / 0.8553 GB, free: 40.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006134/1.338, allocations: 103.1 kB / 0.8554 GB, free: 40.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/1.338, allocations: 201.3 kB / 0.8556 GB, free: 40.71 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/1.338, allocations: 3.906 kB / 0.8556 GB, free: 40.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06143/1.399, allocations: 11.91 MB / 0.8672 GB, free: 35.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003626/1.4, allocations: 143.9 kB / 0.8673 GB, free: 34.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.772/4.172, allocations: 0 / 0.8673 GB, free: 34.86 MB / 0.6511 GB