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.ACSimpleGrid.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01112/0.01112, allocations: 107.5 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001248/0.001248, allocations: 179.2 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.995/1.995, allocations: 194.5 MB / 211.2 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.282/2.282, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005017, allocations: 15.98 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.654/0.6545, allocations: 98.72 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005877/0.6604, allocations: 3.675 MB / 0.687 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005874/0.6664, allocations: 2.928 MB / 0.6899 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.6668, allocations: 9.531 kB / 0.6899 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007352/0.6676, allocations: 154.7 kB / 0.69 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.6689, allocations: 286.6 kB / 0.6903 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008308/0.6698, allocations: 181.1 kB / 0.6905 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008168/0.6706, allocations: 342.7 kB / 0.6908 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.6723, allocations: 0.7253 MB / 0.6915 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004225/0.6727, allocations: 153.5 kB / 0.6917 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/0.6732, allocations: 183.4 kB / 0.6918 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.6732, allocations: 18 kB / 0.6919 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009537/0.6742, allocations: 236.4 kB / 0.6921 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.6744, allocations: 120.4 kB / 0.6922 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.6746, allocations: 110.1 kB / 0.6923 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.6759, allocations: 0.6665 MB / 0.693 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6759, allocations: 0 / 0.693 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6759, allocations: 0 / 0.693 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.6759, allocations: 1.312 kB / 0.693 GB, free: 10.98 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001804/0.6778, allocations: 0.7153 MB / 0.6937 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.6778, allocations: 13.38 kB / 0.6937 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.678, allocations: 75.67 kB / 0.6937 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005336/0.6833, allocations: 0.702 MB / 0.6944 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.6848, allocations: 473.6 kB / 0.6949 GB, free: 10 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.6849, allocations: 24.25 kB / 0.6949 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.685, allocations: 40 kB / 0.6949 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.6878, allocations: 0.7861 MB / 0.6957 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.6879, allocations: 1.031 kB / 0.6957 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.121e-05/0.6879, allocations: 20.94 kB / 0.6957 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002339/0.6882, allocations: 48.08 kB / 0.6958 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/0.6918, allocations: 0.8802 MB / 0.6966 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005995/0.6979, allocations: 2.864 MB / 0.6994 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/0.7008, allocations: 0.5258 MB / 0.6999 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.701, allocations: 91.19 kB / 0.7 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.701, allocations: 36.91 kB / 0.7001 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.796e-06/0.701, allocations: 3.938 kB / 0.7001 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.02094/0.722, allocations: 3.21 MB / 0.7032 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.7221, allocations: 79.67 kB / 0.7033 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/0.7229, allocations: 425.2 kB / 0.7037 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.723, allocations: 30.8 kB / 0.7037 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.7232, allocations: 228.6 kB / 0.7039 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.7233, allocations: 90.27 kB / 0.704 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.7234, allocations: 9.094 kB / 0.704 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.7235, allocations: 348 kB / 0.7044 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.7251, allocations: 359.5 kB / 0.7047 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.7267, allocations: 444.2 kB / 0.7051 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.7284, allocations: 386.6 kB / 0.7055 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7284, allocations: 0 / 0.7055 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.009262/0.7377, allocations: 1.538 MB / 0.707 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.7379, allocations: 0.7918 MB / 0.7078 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.738, allocations: 2.625 kB / 0.7078 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007181/0.7451, allocations: 0.8504 MB / 0.7086 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.7463, allocations: 130.7 kB / 0.7087 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.758, allocations: 4.784 MB / 0.7134 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.7595, allocations: 121.9 kB / 0.7135 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/0.7596, allocations: 17.61 kB / 0.7135 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.7596, allocations: 3.312 kB / 0.7135 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007912/0.7675, allocations: 1.263 MB / 0.7148 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.7676, allocations: 1.625 kB / 0.7148 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004917/0.7725, allocations: 0.5543 MB / 0.7153 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.7738, allocations: 148.7 kB / 0.7155 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006228/0.7801, allocations: 2.565 MB / 0.718 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.7815, allocations: 111.8 kB / 0.7181 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.7816, allocations: 16 kB / 0.7181 GB, free: 9.898 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005926/0.7822, allocations: 321 kB / 0.7184 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.7824, allocations: 35.62 kB / 0.7184 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008476/0.7908, allocations: 1.434 MB / 0.7198 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.7909, allocations: 0 / 0.7198 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.7909, allocations: 4 kB / 0.7198 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.7909, allocations: 3.938 kB / 0.7198 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009839/0.8008, allocations: 2.09 MB / 0.7219 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.8008, allocations: 4 kB / 0.7219 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/0.8016, allocations: 87.92 kB / 0.722 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00648/0.8081, allocations: 0.7937 MB / 0.7227 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-05/0.8083, allocations: 8 kB / 0.7227 GB, free: 5.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009883/0.8182, allocations: 4.606 MB / 0.7272 GB, free: 152 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.8182, allocations: 4.016 kB / 0.7272 GB, free: 148 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00827/0.8265, allocations: 1.468 MB / 0.7287 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005071/0.827, allocations: 172.6 kB / 0.7288 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.8272, allocations: 4 kB / 0.7288 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.8283, allocations: 103.8 kB / 0.7289 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.8285, allocations: 27.91 kB / 0.729 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.8286, allocations: 12 kB / 0.729 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006146/0.8292, allocations: 311.1 kB / 0.7293 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8292, allocations: 0 / 0.7293 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001264/0.8305, allocations: 200 kB / 0.7295 GB, free: 13.79 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008802/0.8393, allocations: 2.262 MB / 0.7317 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006318/0.8457, allocations: 1.619 MB / 0.7333 GB, free: 9.824 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.8457, allocations: 12 kB / 0.7333 GB, free: 9.812 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002205/0.8479, allocations: 0.6713 MB / 0.7339 GB, free: 9.117 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.849, allocations: 107.6 kB / 0.734 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.8667, allocations: 5.405 MB / 0.7393 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007586/0.8675, allocations: 0.921 MB / 0.7402 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001039/0.8685, allocations: 151.2 kB / 0.7404 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/0.869, allocations: 139.4 kB / 0.7405 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of SimCode: time 1.202e-06/0.869, allocations: 0 / 0.7405 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0551/0.9241, allocations: 15.88 MB / 0.756 GB, free: 2.621 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003512/0.9245, allocations: 220.6 kB / 0.7562 GB, free: 2.387 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/3.748, allocations: 0 / 0.7562 GB, free: 2.387 MB / 0.573 GB