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/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_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.346/4.346, allocations: 433.2 MB / 440.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.294e-05, allocations: 3.094 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 98.74 MB / 0.6289 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2635/0.4769, allocations: 145.9 MB / 0.7714 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004031/0.4774, allocations: 103.9 kB / 0.7715 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6548/1.132, allocations: 36.35 MB / 0.807 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.374e-06/1.132, allocations: 0 / 0.807 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.334e-05/1.132, allocations: 27.91 kB / 0.807 GB, free: 136.8 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.002457/1.135, allocations: 0.9478 MB / 0.8079 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.135, allocations: 12.03 kB / 0.8079 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/1.137, allocations: 238.7 kB / 0.8082 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/1.139, allocations: 0.5333 MB / 0.8087 GB, free: 135 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/1.139, allocations: 20 kB / 0.8087 GB, free: 135 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/1.14, allocations: 43.94 kB / 0.8088 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00211/1.142, allocations: 0.5974 MB / 0.8093 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/1.144, allocations: 1.021 MB / 0.8103 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.748e-05/1.145, allocations: 7.938 kB / 0.8103 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/1.145, allocations: 4 kB / 0.8103 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/1.145, allocations: 57.28 kB / 0.8104 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008889/1.154, allocations: 5.761 MB / 0.816 GB, free: 127 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/1.156, allocations: 0.5234 MB / 0.8165 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/1.156, allocations: 306.1 kB / 0.8168 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.115e-05/1.156, allocations: 4.438 kB / 0.8168 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/1.157, allocations: 39 kB / 0.8169 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 4.538e-06/1.157, allocations: 0 / 0.8169 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.004389/1.161, allocations: 1.163 MB / 0.818 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/1.161, allocations: 55.84 kB / 0.8181 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008382/1.162, allocations: 398.1 kB / 0.8184 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/1.162, allocations: 25.7 kB / 0.8185 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/1.162, allocations: 414.8 kB / 0.8189 GB, free: 124 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/1.163, allocations: 161.6 kB / 0.819 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/1.163, allocations: 0 / 0.819 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.163, allocations: 366.8 kB / 0.8194 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/1.164, allocations: 249.5 kB / 0.8196 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008939/1.164, allocations: 438.5 kB / 0.82 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009416/1.165, allocations: 321.9 kB / 0.8203 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.165, allocations: 4 kB / 0.8203 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003282/1.169, allocations: 0.9618 MB / 0.8213 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.169, allocations: 9.562 kB / 0.8213 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/1.169, allocations: 11.94 kB / 0.8213 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/1.171, allocations: 275.6 kB / 0.8216 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/1.172, allocations: 123.7 kB / 0.8217 GB, free: 121 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009479/1.181, allocations: 6.322 MB / 0.8278 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/1.183, allocations: 27.95 kB / 0.8279 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/1.183, allocations: 24 kB / 0.8279 GB, free: 114.2 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.0002342/1.183, allocations: 128.7 kB / 0.828 GB, free: 114 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00267/1.186, allocations: 0.7795 MB / 0.8288 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/1.186, allocations: 59.34 kB / 0.8288 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/1.189, allocations: 0.8251 MB / 0.8296 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/1.189, allocations: 4 kB / 0.8296 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.189, allocations: 4 kB / 0.8297 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.189, allocations: 3.984 kB / 0.8297 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/1.194, allocations: 1.567 MB / 0.8312 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/1.194, allocations: 4 kB / 0.8312 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/1.194, allocations: 67.84 kB / 0.8313 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/1.196, allocations: 259.5 kB / 0.8315 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/1.196, allocations: 0 / 0.8315 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009048/1.205, allocations: 6.314 MB / 0.8377 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.205, allocations: 0 / 0.8377 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/1.208, allocations: 0.9975 MB / 0.8386 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/1.209, allocations: 184.3 kB / 0.8388 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/1.209, allocations: 4 kB / 0.8388 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008752/1.21, allocations: 23.95 kB / 0.8388 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/1.21, allocations: 43.78 kB / 0.8389 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.609e-05/1.21, allocations: 16 kB / 0.8389 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005948/1.211, allocations: 306.9 kB / 0.8392 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.61e-07/1.211, allocations: 0 / 0.8392 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001602/1.213, allocations: 196 kB / 0.8394 GB, free: 101.7 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.003215/1.216, allocations: 1.962 MB / 0.8413 GB, free: 99.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003434/1.219, allocations: 1.173 MB / 0.8424 GB, free: 98.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.219, allocations: 0 / 0.8424 GB, free: 98.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002226/1.222, allocations: 0.8463 MB / 0.8433 GB, free: 97.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/1.223, allocations: 168.1 kB / 0.8434 GB, free: 97.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/1.227, allocations: 1.104 MB / 0.8445 GB, free: 96.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/1.227, allocations: 1.024 MB / 0.8455 GB, free: 95.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000682/1.228, allocations: 113.3 kB / 0.8456 GB, free: 95.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/1.229, allocations: 247.4 kB / 0.8459 GB, free: 94.86 MB / 0.6511 GB Notification: Performance of SimCode: time 9.31e-07/1.229, allocations: 0 / 0.8459 GB, free: 94.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07781/1.306, allocations: 14.5 MB / 0.86 GB, free: 80.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/1.307, allocations: 153.7 kB / 0.8602 GB, free: 80.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/4.191, allocations: 0 / 0.8602 GB, free: 80.2 MB / 0.6511 GB