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/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_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.046/4.046, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.365e-05/4.376e-05, allocations: 4.5 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2125, allocations: 98.73 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8834/1.096, allocations: 167.8 MB / 0.7986 GB, free: 46.28 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/1.096, allocations: 96.89 kB / 0.7987 GB, free: 46.28 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1316/1.228, allocations: 31.22 MB / 0.8292 GB, free: 42.53 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.194e-06/1.228, allocations: 3.906 kB / 0.8292 GB, free: 42.53 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.22e-05/1.228, allocations: 15.53 kB / 0.8292 GB, free: 42.52 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.001773/1.23, allocations: 0.7958 MB / 0.83 GB, free: 41.91 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.23, allocations: 11.75 kB / 0.83 GB, free: 41.91 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/1.23, allocations: 107 kB / 0.8301 GB, free: 41.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/1.232, allocations: 195.8 kB / 0.8303 GB, free: 41.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/1.234, allocations: 496.9 kB / 0.8307 GB, free: 41.43 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/1.234, allocations: 34.44 kB / 0.8308 GB, free: 41.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/1.234, allocations: 60.22 kB / 0.8308 GB, free: 41.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/1.236, allocations: 0.8648 MB / 0.8317 GB, free: 40.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/1.236, allocations: 11.77 kB / 0.8317 GB, free: 40.97 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/1.236, allocations: 21.94 kB / 0.8317 GB, free: 40.97 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-05/1.236, allocations: 43.23 kB / 0.8317 GB, free: 40.96 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/1.237, allocations: 0.5612 MB / 0.8323 GB, free: 40.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/1.243, allocations: 4.601 MB / 0.8368 GB, free: 37.06 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/1.244, allocations: 291.5 kB / 0.8371 GB, free: 37 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/1.244, allocations: 219.1 kB / 0.8373 GB, free: 36.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-05/1.244, allocations: 3.938 kB / 0.8373 GB, free: 36.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.244, allocations: 42.33 kB / 0.8373 GB, free: 36.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.617e-06/1.244, allocations: 0 / 0.8373 GB, free: 36.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.006972/1.251, allocations: 2.184 MB / 0.8395 GB, free: 36.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/1.252, allocations: 63.12 kB / 0.8395 GB, free: 35.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006062/1.252, allocations: 391.9 kB / 0.8399 GB, free: 35.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.875e-05/1.252, allocations: 33.14 kB / 0.8399 GB, free: 35.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/1.252, allocations: 341.1 kB / 0.8402 GB, free: 35.56 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/1.253, allocations: 150 kB / 0.8404 GB, free: 35.46 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/1.253, allocations: 7 kB / 0.8404 GB, free: 35.46 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.253, allocations: 362.8 kB / 0.8407 GB, free: 35.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/1.253, allocations: 228.8 kB / 0.841 GB, free: 35.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/1.254, allocations: 378.7 kB / 0.8413 GB, free: 34.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/1.255, allocations: 285.6 kB / 0.8416 GB, free: 34.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.255, allocations: 3.906 kB / 0.8416 GB, free: 34.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002447/1.257, allocations: 0.8872 MB / 0.8425 GB, free: 34.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.257, allocations: 3.656 kB / 0.8425 GB, free: 34.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/1.257, allocations: 7.75 kB / 0.8425 GB, free: 34.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/1.258, allocations: 228.9 kB / 0.8427 GB, free: 34.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008978/1.259, allocations: 109 kB / 0.8428 GB, free: 34.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005903/1.265, allocations: 4.923 MB / 0.8476 GB, free: 30.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008308/1.266, allocations: 26.66 kB / 0.8476 GB, free: 30.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/1.266, allocations: 26.5 kB / 0.8477 GB, free: 30.36 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.0001691/1.266, allocations: 136.2 kB / 0.8478 GB, free: 30.24 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/1.267, allocations: 58.41 kB / 0.8478 GB, free: 30.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/1.269, allocations: 0.7653 MB / 0.8486 GB, free: 29.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.269, allocations: 11.89 kB / 0.8486 GB, free: 29.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.269, allocations: 3.906 kB / 0.8486 GB, free: 29.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.269, allocations: 0 / 0.8486 GB, free: 29.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/1.272, allocations: 1.476 MB / 0.85 GB, free: 29.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.272, allocations: 0 / 0.85 GB, free: 29.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/1.273, allocations: 73.62 kB / 0.8501 GB, free: 29.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/1.274, allocations: 199.3 kB / 0.8503 GB, free: 29.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/1.274, allocations: 14.23 kB / 0.8503 GB, free: 29.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005531/1.28, allocations: 4.857 MB / 0.8551 GB, free: 25.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.28, allocations: 4.016 kB / 0.8551 GB, free: 25.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/1.282, allocations: 1.205 MB / 0.8562 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/1.283, allocations: 167.4 kB / 0.8564 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/1.283, allocations: 11.44 kB / 0.8564 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/1.283, allocations: 34.64 kB / 0.8564 GB, free: 24.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/1.284, allocations: 34.86 kB / 0.8565 GB, free: 24.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/1.284, allocations: 18.8 kB / 0.8565 GB, free: 24.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004483/1.284, allocations: 303.9 kB / 0.8568 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.284, allocations: 0 / 0.8568 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008912/1.285, allocations: 178.4 kB / 0.857 GB, free: 24.29 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.002935/1.288, allocations: 2.242 MB / 0.8591 GB, free: 22.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002186/1.29, allocations: 0.9885 MB / 0.8601 GB, free: 22.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.29, allocations: 0 / 0.8601 GB, free: 22.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/1.292, allocations: 0.667 MB / 0.8608 GB, free: 21.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/1.293, allocations: 161.9 kB / 0.8609 GB, free: 21.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/1.296, allocations: 1.104 MB / 0.862 GB, free: 21.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/1.296, allocations: 0.962 MB / 0.8629 GB, free: 20.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006358/1.297, allocations: 107.1 kB / 0.863 GB, free: 20.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/1.297, allocations: 217.3 kB / 0.8632 GB, free: 20.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.583e-06/1.297, allocations: 0 / 0.8632 GB, free: 20.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/1.403, allocations: 13.17 MB / 0.8761 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/1.404, allocations: 187.4 kB / 0.8763 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/4.098, allocations: 4 kB / 0.8763 GB, free: 13.85 MB / 0.6511 GB