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_L.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_L,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.069/4.069, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.654e-05, allocations: 3.656 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 98.73 MB / 0.6289 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2963/0.5039, allocations: 147.1 MB / 0.7726 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/0.5044, allocations: 91.94 kB / 0.7727 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6783/1.183, allocations: 36.61 MB / 0.8084 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.244e-06/1.183, allocations: 0 / 0.8084 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.942e-05/1.183, allocations: 23.94 kB / 0.8084 GB, free: 135.5 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00195/1.185, allocations: 0.8605 MB / 0.8093 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.185, allocations: 12.03 kB / 0.8093 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/1.187, allocations: 226.7 kB / 0.8095 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/1.189, allocations: 0.5308 MB / 0.81 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/1.189, allocations: 23.98 kB / 0.81 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/1.189, allocations: 40 kB / 0.8101 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001293/1.19, allocations: 0.5459 MB / 0.8106 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/1.192, allocations: 0.9911 MB / 0.8116 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/1.192, allocations: 0 / 0.8116 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/1.192, allocations: 8 kB / 0.8116 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/1.192, allocations: 57.22 kB / 0.8116 GB, free: 132 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005984/1.198, allocations: 5.636 MB / 0.8171 GB, free: 126 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/1.199, allocations: 0.5748 MB / 0.8177 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008855/1.2, allocations: 380.6 kB / 0.8181 GB, free: 125 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.219e-05/1.2, allocations: 8.688 kB / 0.8181 GB, free: 125 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/1.201, allocations: 42.5 kB / 0.8181 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 3.236e-06/1.201, allocations: 0 / 0.8181 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42): time 0.003204/1.204, allocations: 1.157 MB / 0.8192 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/1.204, allocations: 55.41 kB / 0.8193 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/1.204, allocations: 329.1 kB / 0.8196 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/1.204, allocations: 25.7 kB / 0.8196 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/1.205, allocations: 383 kB / 0.82 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/1.205, allocations: 149.9 kB / 0.8201 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/1.205, allocations: 0 / 0.8201 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/1.205, allocations: 354.8 kB / 0.8205 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/1.205, allocations: 221 kB / 0.8207 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/1.206, allocations: 407.1 kB / 0.8211 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/1.206, allocations: 283.8 kB / 0.8213 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.206, allocations: 7.953 kB / 0.8214 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002468/1.209, allocations: 0.9407 MB / 0.8223 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/1.209, allocations: 11.95 kB / 0.8223 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.209, allocations: 4 kB / 0.8223 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/1.21, allocations: 311.7 kB / 0.8226 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/1.211, allocations: 87.83 kB / 0.8227 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007694/1.219, allocations: 6.828 MB / 0.8293 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/1.219, allocations: 19.97 kB / 0.8294 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/1.22, allocations: 24 kB / 0.8294 GB, free: 112.7 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001553/1.22, allocations: 120.8 kB / 0.8295 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00205/1.222, allocations: 0.8 MB / 0.8303 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/1.222, allocations: 55.34 kB / 0.8303 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/1.224, allocations: 0.8415 MB / 0.8312 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.224, allocations: 4 kB / 0.8312 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.224, allocations: 11.94 kB / 0.8312 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.224, allocations: 12.02 kB / 0.8312 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/1.228, allocations: 1.707 MB / 0.8328 GB, free: 109 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.228, allocations: 0 / 0.8328 GB, free: 109 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/1.229, allocations: 43.91 kB / 0.8329 GB, free: 109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/1.23, allocations: 275.3 kB / 0.8332 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/1.23, allocations: 4 kB / 0.8332 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007009/1.237, allocations: 6.555 MB / 0.8396 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.237, allocations: 0 / 0.8396 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/1.239, allocations: 0.9587 MB / 0.8405 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/1.24, allocations: 176.3 kB / 0.8407 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/1.24, allocations: 4 kB / 0.8407 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/1.24, allocations: 15.97 kB / 0.8407 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.24, allocations: 40.05 kB / 0.8407 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/1.24, allocations: 12 kB / 0.8407 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003146/1.241, allocations: 247 kB / 0.841 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.9e-07/1.241, allocations: 0 / 0.841 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001123/1.242, allocations: 172 kB / 0.8411 GB, free: 99.96 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002427/1.244, allocations: 1.935 MB / 0.843 GB, free: 97.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002243/1.246, allocations: 1.09 MB / 0.8441 GB, free: 96.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.246, allocations: 0 / 0.8441 GB, free: 96.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/1.248, allocations: 0.78 MB / 0.8448 GB, free: 96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/1.249, allocations: 160.5 kB / 0.845 GB, free: 95.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/1.252, allocations: 1.005 MB / 0.846 GB, free: 94.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/1.253, allocations: 1 MB / 0.847 GB, free: 93.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000525/1.253, allocations: 104.8 kB / 0.8471 GB, free: 93.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/1.254, allocations: 219.4 kB / 0.8473 GB, free: 93.44 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/1.254, allocations: 0 / 0.8473 GB, free: 93.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06451/1.318, allocations: 12.78 MB / 0.8597 GB, free: 80.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003384/1.319, allocations: 151.9 kB / 0.8599 GB, free: 80.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/4.119, allocations: 0 / 0.8599 GB, free: 80.5 MB / 0.6511 GB