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.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.ACLine,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01601/0.01601, allocations: 107.4 kB / 15.06 MB, free: 5.555 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.001803/0.001803, allocations: 180.8 kB / 15.95 MB, free: 5.52 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.922/1.922, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.385/2.385, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004877, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.716/0.7165, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01567/0.7322, allocations: 9.226 MB / 0.6925 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0179/0.7502, allocations: 8.034 MB / 0.7003 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.7522, allocations: 50.16 kB / 0.7003 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.7539, allocations: 254.6 kB / 0.7006 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.006524/0.7605, allocations: 1.26 MB / 0.7018 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.7631, allocations: 482.6 kB / 0.7023 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003911/0.7671, allocations: 1.384 MB / 0.7036 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004997/0.7721, allocations: 1.776 MB / 0.7054 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.7746, allocations: 0.7231 MB / 0.7061 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.7773, allocations: 0.739 MB / 0.7068 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000789/0.7781, allocations: 59.25 kB / 0.7068 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.7815, allocations: 409.4 kB / 0.7072 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001563/0.7832, allocations: 449.3 kB / 0.7077 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.7848, allocations: 335.3 kB / 0.708 GB, free: 476 kB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005997/0.7908, allocations: 1.911 MB / 0.7099 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.7909, allocations: 0 / 0.7099 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.236e-06/0.7909, allocations: 0 / 0.7099 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001025/0.791, allocations: 0 / 0.7099 GB, free: 15.11 MB / 0.5417 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.00832/0.7994, allocations: 1.72 MB / 0.7115 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/0.7995, allocations: 12.75 kB / 0.7115 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001036/0.8005, allocations: 188.3 kB / 0.7117 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03429/0.8348, allocations: 2.125 MB / 0.7138 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006136/0.841, allocations: 1.071 MB / 0.7148 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.8413, allocations: 88.75 kB / 0.7149 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009169/0.8423, allocations: 123.8 kB / 0.715 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.8597, allocations: 2.478 MB / 0.7175 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/0.8599, allocations: 3.469 kB / 0.7175 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000594/0.8606, allocations: 62.61 kB / 0.7175 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009664/0.8616, allocations: 131.5 kB / 0.7177 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02471/0.8863, allocations: 2.582 MB / 0.7202 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02624/0.9126, allocations: 10.12 MB / 0.7301 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.9249, allocations: 2.001 MB / 0.732 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.925, allocations: 8.344 kB / 0.732 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.9251, allocations: 42.94 kB / 0.7321 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=53): time 3.286e-06/0.9251, allocations: 0 / 0.7321 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=81): time 0.06043/0.9856, allocations: 8.77 MB / 0.7406 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.9857, allocations: 60.06 kB / 0.7407 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.9879, allocations: 1.081 MB / 0.7417 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002977/0.9882, allocations: 41.7 kB / 0.7418 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000824/0.9891, allocations: 0.7457 MB / 0.7425 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000472/0.9895, allocations: 287.8 kB / 0.7428 GB, free: 460 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.9897, allocations: 16 kB / 0.7428 GB, free: 444 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.9899, allocations: 349.9 kB / 0.7431 GB, free: 88 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005787/0.9957, allocations: 1.087 MB / 0.7442 GB, free: 14.99 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005974/1.002, allocations: 1.317 MB / 0.7455 GB, free: 13.58 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005892/1.008, allocations: 1.146 MB / 0.7466 GB, free: 12.43 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.008, allocations: 4 kB / 0.7466 GB, free: 12.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01655/1.024, allocations: 3.296 MB / 0.7498 GB, free: 9.098 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/1.024, allocations: 12.16 kB / 0.7498 GB, free: 9.086 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/1.024, allocations: 8 kB / 0.7498 GB, free: 9.078 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004952/1.029, allocations: 0.791 MB / 0.7506 GB, free: 8.266 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/1.033, allocations: 427.3 kB / 0.751 GB, free: 7.848 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02561/1.059, allocations: 14.97 MB / 0.7656 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/1.063, allocations: 307.5 kB / 0.7659 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/1.064, allocations: 51.97 kB / 0.766 GB, free: 7.453 MB / 0.5886 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.00119/1.065, allocations: 389.5 kB / 0.7664 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004694/1.065, allocations: 150.2 kB / 0.7665 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0166/1.082, allocations: 3.245 MB / 0.7697 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.082, allocations: 8 kB / 0.7697 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/1.082, allocations: 4 kB / 0.7697 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/1.082, allocations: 3.984 kB / 0.7697 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/1.103, allocations: 4.944 MB / 0.7745 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/1.103, allocations: 7.984 kB / 0.7745 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003313/1.106, allocations: 359.4 kB / 0.7749 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004364/1.111, allocations: 0.6974 MB / 0.7755 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/1.111, allocations: 35.97 kB / 0.7756 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02372/1.135, allocations: 14.6 MB / 0.7898 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.135, allocations: 3.938 kB / 0.7898 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/1.15, allocations: 3.229 MB / 0.793 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.152, allocations: 383.2 kB / 0.7934 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/1.153, allocations: 19.98 kB / 0.7934 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003907/1.156, allocations: 303.5 kB / 0.7937 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004603/1.157, allocations: 84.67 kB / 0.7938 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/1.157, allocations: 43.95 kB / 0.7938 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001656/1.159, allocations: 0.7249 MB / 0.7945 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.695e-06/1.159, allocations: 3.938 kB / 0.7945 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002657/1.162, allocations: 435.9 kB / 0.7949 GB, free: 8.371 MB / 0.6198 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.01641/1.178, allocations: 4.535 MB / 0.7994 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01567/1.194, allocations: 3.656 MB / 0.8029 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/1.194, allocations: 0 / 0.8029 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00926/1.203, allocations: 2.379 MB / 0.8052 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/1.207, allocations: 478.5 kB / 0.8057 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0481/1.255, allocations: 16.47 MB / 0.8218 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/1.257, allocations: 1.419 MB / 0.8232 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002736/1.259, allocations: 375.9 kB / 0.8235 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.261, allocations: 0.6007 MB / 0.8241 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.543e-06/1.261, allocations: 0 / 0.8241 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/1.379, allocations: 40.28 MB / 0.8635 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003779/1.38, allocations: 202.1 kB / 0.8636 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.625/5.005, allocations: 4 kB / 0.8637 GB, free: 1.477 MB / 0.6823 GB