Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01007/0.01007, allocations: 91.03 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001169/0.001169, allocations: 177.2 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.061/2.061, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.399/2.399, allocations: 252.8 MB / 0.511 GB, free: 8.32 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004871, allocations: 23.52 kB / 0.6243 GB, free: 28.44 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01648/0.2285, allocations: 9.238 MB / 0.7371 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.2466, allocations: 8.055 MB / 0.745 GB, free: 8.785 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.2481, allocations: 47.62 kB / 0.745 GB, free: 8.738 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.2494, allocations: 258.2 kB / 0.7453 GB, free: 8.484 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.2549, allocations: 1.26 MB / 0.7465 GB, free: 7.223 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.2572, allocations: 471.1 kB / 0.7469 GB, free: 6.762 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003504/0.2607, allocations: 1.382 MB / 0.7483 GB, free: 5.379 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004903/0.2656, allocations: 1.766 MB / 0.75 GB, free: 3.566 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.2677, allocations: 0.7278 MB / 0.7507 GB, free: 2.836 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.2696, allocations: 0.7353 MB / 0.7514 GB, free: 2.098 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003551/0.27, allocations: 60 kB / 0.7515 GB, free: 2.039 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.2716, allocations: 403.4 kB / 0.7519 GB, free: 1.645 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007648/0.2724, allocations: 450.6 kB / 0.7523 GB, free: 1.203 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006385/0.2731, allocations: 336.8 kB / 0.7526 GB, free: 0.8672 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003623/0.2767, allocations: 1.913 MB / 0.7545 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2768, allocations: 0 / 0.7545 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2768, allocations: 0 / 0.7545 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.772e-05/0.2769, allocations: 0 / 0.7545 GB, free: 14.95 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004708/0.2816, allocations: 1.718 MB / 0.7562 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.2816, allocations: 12.03 kB / 0.7562 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005047/0.2822, allocations: 193.9 kB / 0.7564 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01979/0.302, allocations: 2.116 MB / 0.7584 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.3055, allocations: 1.075 MB / 0.7595 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.3057, allocations: 90.31 kB / 0.7596 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004561/0.3062, allocations: 119.8 kB / 0.7597 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009831/0.316, allocations: 2.482 MB / 0.7621 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.6e-05/0.3161, allocations: 7.938 kB / 0.7621 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002669/0.3164, allocations: 59.98 kB / 0.7622 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006069/0.317, allocations: 126.1 kB / 0.7623 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.3306, allocations: 2.58 MB / 0.7648 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02153/0.3521, allocations: 10.11 MB / 0.7747 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/0.3636, allocations: 2.007 MB / 0.7767 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.824e-05/0.3637, allocations: 8.422 kB / 0.7767 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.3637, allocations: 39 kB / 0.7767 GB, free: 7.219 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 3.366e-06/0.3638, allocations: 0 / 0.7767 GB, free: 7.219 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.05708/0.4208, allocations: 8.762 MB / 0.7853 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.4209, allocations: 64.06 kB / 0.7853 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.423, allocations: 1.085 MB / 0.7864 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002212/0.4233, allocations: 37.7 kB / 0.7864 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007337/0.424, allocations: 0.7418 MB / 0.7871 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004026/0.4244, allocations: 280 kB / 0.7874 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.4246, allocations: 16 kB / 0.7874 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4247, allocations: 349.9 kB / 0.7878 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005428/0.4302, allocations: 1.087 MB / 0.7888 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005608/0.4358, allocations: 1.325 MB / 0.7901 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005574/0.4414, allocations: 1.146 MB / 0.7912 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.4414, allocations: 7.984 kB / 0.7912 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01579/0.4572, allocations: 3.3 MB / 0.7945 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.4573, allocations: 12 kB / 0.7945 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.4574, allocations: 8 kB / 0.7945 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004863/0.4622, allocations: 0.7833 MB / 0.7952 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003707/0.466, allocations: 427.2 kB / 0.7957 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02395/0.49, allocations: 14.97 MB / 0.8103 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003935/0.4939, allocations: 299.6 kB / 0.8106 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.4942, allocations: 59.95 kB / 0.8106 GB, free: 3.148 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001076/0.4953, allocations: 393.5 kB / 0.811 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/0.4956, allocations: 150.2 kB / 0.8111 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/0.5114, allocations: 3.238 MB / 0.8143 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.5114, allocations: 8 kB / 0.8143 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.5115, allocations: 8 kB / 0.8143 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.5115, allocations: 7.922 kB / 0.8143 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/0.5311, allocations: 4.936 MB / 0.8191 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.5311, allocations: 8 kB / 0.8191 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003168/0.5343, allocations: 367.3 kB / 0.8195 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004244/0.5386, allocations: 0.6897 MB / 0.8202 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/0.5388, allocations: 31.97 kB / 0.8202 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02233/0.5611, allocations: 14.61 MB / 0.8345 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5612, allocations: 0 / 0.8345 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/0.576, allocations: 3.24 MB / 0.8376 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/0.5772, allocations: 387.1 kB / 0.838 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/0.5776, allocations: 24.28 kB / 0.838 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003448/0.581, allocations: 299.5 kB / 0.8383 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000391/0.5814, allocations: 84.45 kB / 0.8384 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.5816, allocations: 43.95 kB / 0.8384 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001442/0.5831, allocations: 0.721 MB / 0.8391 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5831, allocations: 0 / 0.8391 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00208/0.5852, allocations: 432 kB / 0.8396 GB, free: 4.059 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5655/1.151, allocations: 4.532 MB / 0.844 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0152/1.166, allocations: 3.651 MB / 0.8475 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.166, allocations: 4.938 kB / 0.8476 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.008751/1.175, allocations: 2.38 MB / 0.8499 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/1.178, allocations: 474.8 kB / 0.8503 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0454/1.224, allocations: 16.47 MB / 0.8664 GB, free: 98.02 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/1.225, allocations: 1.422 MB / 0.8678 GB, free: 97.23 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002912/1.228, allocations: 378.6 kB / 0.8682 GB, free: 97.14 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/1.23, allocations: 0.5869 MB / 0.8687 GB, free: 96.69 MB / 0.6667 GB Notification: Performance of SimCode: time 1.122e-06/1.23, allocations: 0 / 0.8687 GB, free: 96.69 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09788/1.328, allocations: 40.29 MB / 0.9081 GB, free: 70.79 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/1.328, allocations: 214 kB / 0.9083 GB, free: 70.54 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.691/5.019, allocations: 0 / 0.9083 GB, free: 70.54 MB / 0.6667 GB