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_R.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.008/4.008, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.826e-05, allocations: 3.812 kB / 0.5383 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.207, allocations: 98.73 MB / 0.6347 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8167/1.024, allocations: 146.5 MB / 0.7778 GB, free: 56.69 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/1.024, allocations: 93.48 kB / 0.7779 GB, free: 56.69 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1427/1.167, allocations: 36.51 MB / 0.8136 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.936e-06/1.167, allocations: 0 / 0.8136 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.48e-05/1.167, allocations: 35.28 kB / 0.8136 GB, free: 53.18 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.0023/1.169, allocations: 0.9516 MB / 0.8145 GB, free: 52.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.169, allocations: 7.812 kB / 0.8146 GB, free: 52.59 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/1.17, allocations: 124.1 kB / 0.8147 GB, free: 52.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/1.172, allocations: 231.2 kB / 0.8149 GB, free: 52.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/1.173, allocations: 0.5328 MB / 0.8154 GB, free: 52.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/1.173, allocations: 53.7 kB / 0.8155 GB, free: 52.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/1.174, allocations: 71.3 kB / 0.8155 GB, free: 52.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/1.176, allocations: 1.116 MB / 0.8166 GB, free: 51.76 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/1.176, allocations: 7.906 kB / 0.8166 GB, free: 51.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.176, allocations: 37.41 kB / 0.8167 GB, free: 51.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/1.176, allocations: 51.12 kB / 0.8167 GB, free: 51.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/1.178, allocations: 0.73 MB / 0.8174 GB, free: 51.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007106/1.185, allocations: 5.914 MB / 0.8232 GB, free: 47.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/1.186, allocations: 0.5499 MB / 0.8237 GB, free: 47.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/1.187, allocations: 322.8 kB / 0.824 GB, free: 47.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.04e-05/1.187, allocations: 8.125 kB / 0.8241 GB, free: 47.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/1.187, allocations: 42.31 kB / 0.8241 GB, free: 47.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 3.046e-06/1.187, allocations: 0 / 0.8241 GB, free: 47.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.003191/1.19, allocations: 1.225 MB / 0.8253 GB, free: 46.97 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/1.19, allocations: 63.56 kB / 0.8254 GB, free: 46.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/1.191, allocations: 491.9 kB / 0.8258 GB, free: 46.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/1.191, allocations: 33.02 kB / 0.8259 GB, free: 46.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/1.191, allocations: 396 kB / 0.8262 GB, free: 46.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/1.192, allocations: 167.3 kB / 0.8264 GB, free: 46.42 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/1.192, allocations: 18.97 kB / 0.8264 GB, free: 46.42 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.192, allocations: 376.5 kB / 0.8268 GB, free: 46.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000583/1.192, allocations: 259.9 kB / 0.827 GB, free: 46.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006803/1.193, allocations: 458 kB / 0.8275 GB, free: 45.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/1.194, allocations: 331.6 kB / 0.8278 GB, free: 45.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/1.194, allocations: 3.969 kB / 0.8278 GB, free: 45.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002594/1.196, allocations: 1.043 MB / 0.8288 GB, free: 45.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.196, allocations: 12.56 kB / 0.8288 GB, free: 45.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.197, allocations: 7.875 kB / 0.8288 GB, free: 45.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/1.198, allocations: 277.9 kB / 0.8291 GB, free: 45.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008365/1.199, allocations: 116.6 kB / 0.8292 GB, free: 45.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007096/1.206, allocations: 6.579 MB / 0.8356 GB, free: 40.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/1.207, allocations: 39.77 kB / 0.8357 GB, free: 40.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/1.207, allocations: 33.94 kB / 0.8357 GB, free: 40.53 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001841/1.207, allocations: 145 kB / 0.8358 GB, free: 40.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/1.207, allocations: 78.09 kB / 0.8359 GB, free: 40.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/1.21, allocations: 0.8814 MB / 0.8368 GB, free: 40.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.21, allocations: 3.906 kB / 0.8368 GB, free: 40.26 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.21, allocations: 3.906 kB / 0.8368 GB, free: 40.26 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.21, allocations: 7.422 kB / 0.8368 GB, free: 40.26 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/1.213, allocations: 1.694 MB / 0.8384 GB, free: 39.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.213, allocations: 3.906 kB / 0.8384 GB, free: 39.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/1.214, allocations: 57.97 kB / 0.8385 GB, free: 39.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/1.215, allocations: 269.3 kB / 0.8387 GB, free: 39.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/1.215, allocations: 15.61 kB / 0.8388 GB, free: 39.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007083/1.222, allocations: 6.571 MB / 0.8452 GB, free: 34.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.222, allocations: 3.984 kB / 0.8452 GB, free: 34.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/1.225, allocations: 1.042 MB / 0.8462 GB, free: 34.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/1.225, allocations: 197.4 kB / 0.8464 GB, free: 34.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/1.225, allocations: 7.719 kB / 0.8464 GB, free: 34.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/1.226, allocations: 28.8 kB / 0.8464 GB, free: 34.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.226, allocations: 45.98 kB / 0.8465 GB, free: 34.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/1.226, allocations: 15.72 kB / 0.8465 GB, free: 34.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005531/1.227, allocations: 372.1 kB / 0.8468 GB, free: 34.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.227, allocations: 0 / 0.8468 GB, free: 34.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001098/1.228, allocations: 240.6 kB / 0.8471 GB, free: 34.05 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00247/1.23, allocations: 2.028 MB / 0.849 GB, free: 32.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002578/1.233, allocations: 1.233 MB / 0.8502 GB, free: 32.22 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.233, allocations: 0 / 0.8502 GB, free: 32.22 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/1.235, allocations: 0.8813 MB / 0.8511 GB, free: 31.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/1.236, allocations: 198.9 kB / 0.8513 GB, free: 31.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/1.239, allocations: 1.147 MB / 0.8524 GB, free: 31.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/1.24, allocations: 1.03 MB / 0.8534 GB, free: 30.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006719/1.24, allocations: 120.9 kB / 0.8535 GB, free: 30.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/1.241, allocations: 249.1 kB / 0.8538 GB, free: 30.58 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.241, allocations: 0 / 0.8538 GB, free: 30.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05682/1.298, allocations: 16.21 MB / 0.8696 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/1.298, allocations: 184 kB / 0.8698 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/4.101, allocations: 0 / 0.8698 GB, free: 24.05 MB / 0.6511 GB