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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.996/3.996, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.573e-05, allocations: 9.5 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2215, allocations: 98.73 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8857/1.107, allocations: 166.4 MB / 0.7972 GB, free: 46.23 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/1.108, allocations: 97.73 kB / 0.7973 GB, free: 46.23 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2882/1.396, allocations: 77.73 MB / 0.8732 GB, free: 23.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.405e-06/1.396, allocations: 7.875 kB / 0.8732 GB, free: 23.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001434/1.396, allocations: 34.94 kB / 0.8733 GB, free: 23.96 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004487/1.401, allocations: 1.539 MB / 0.8748 GB, free: 22.92 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/1.401, allocations: 7.75 kB / 0.8748 GB, free: 22.92 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005995/1.401, allocations: 187.8 kB / 0.875 GB, free: 22.85 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/1.419, allocations: 1.816 MB / 0.8767 GB, free: 22.04 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003893/1.423, allocations: 1.138 MB / 0.8778 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/1.423, allocations: 84.69 kB / 0.8779 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005141/1.424, allocations: 116.2 kB / 0.878 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00502/1.429, allocations: 2.048 MB / 0.88 GB, free: 20.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.831e-05/1.429, allocations: 11.03 kB / 0.88 GB, free: 20.58 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/1.429, allocations: 57.23 kB / 0.8801 GB, free: 20.58 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/1.429, allocations: 78.7 kB / 0.8802 GB, free: 20.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004163/1.433, allocations: 1.603 MB / 0.8817 GB, free: 20.36 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02028/1.454, allocations: 10.2 MB / 0.8917 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/1.457, allocations: 1.13 MB / 0.8928 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/1.458, allocations: 0.5977 MB / 0.8934 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.546e-05/1.458, allocations: 4.312 kB / 0.8934 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/1.458, allocations: 46.06 kB / 0.8934 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 3.306e-06/1.458, allocations: 0 / 0.8934 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.03604/1.495, allocations: 6.605 MB / 0.8999 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/1.495, allocations: 214.4 kB / 0.9001 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/1.497, allocations: 0.9384 MB / 0.901 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002769/1.497, allocations: 41.39 kB / 0.901 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/1.497, allocations: 0.7368 MB / 0.9018 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/1.498, allocations: 284.5 kB / 0.902 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/1.498, allocations: 17.56 kB / 0.902 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/1.498, allocations: 347.1 kB / 0.9024 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/1.5, allocations: 0.6857 MB / 0.903 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/1.502, allocations: 0.938 MB / 0.904 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/1.503, allocations: 0.7438 MB / 0.9047 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.503, allocations: 0 / 0.9047 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007825/1.511, allocations: 2.499 MB / 0.9071 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/1.511, allocations: 8.75 kB / 0.9071 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.511, allocations: 8 kB / 0.9071 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005057/1.516, allocations: 0.8571 MB / 0.908 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/1.52, allocations: 419.3 kB / 0.9084 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02335/1.543, allocations: 14.87 MB / 0.9229 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004226/1.548, allocations: 311.5 kB / 0.9232 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/1.548, allocations: 51.97 kB / 0.9233 GB, free: 1.066 MB / 0.6667 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 (78): * Single equations (assignments): 70 * 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 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(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.0004393/1.548, allocations: 156.8 kB / 0.9234 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004645/1.549, allocations: 150.2 kB / 0.9235 GB, free: 0.7578 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008877/1.558, allocations: 2.464 MB / 0.926 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/1.558, allocations: 8 kB / 0.926 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/1.558, allocations: 4 kB / 0.926 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/1.558, allocations: 11.94 kB / 0.926 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/1.571, allocations: 4.235 MB / 0.9301 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/1.572, allocations: 7.938 kB / 0.9301 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003308/1.575, allocations: 363.4 kB / 0.9305 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004901/1.58, allocations: 0.776 MB / 0.9312 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002489/1.58, allocations: 27.97 kB / 0.9313 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02352/1.604, allocations: 14.5 MB / 0.9454 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.604, allocations: 8.406 kB / 0.9454 GB, free: 9.141 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007773/1.611, allocations: 2.469 MB / 0.9478 GB, free: 6.512 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.613, allocations: 391.2 kB / 0.9482 GB, free: 6.109 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/1.613, allocations: 20 kB / 0.9482 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003576/1.617, allocations: 315.4 kB / 0.9485 GB, free: 5.781 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003559/1.617, allocations: 72.62 kB / 0.9486 GB, free: 5.711 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/1.617, allocations: 39.95 kB / 0.9486 GB, free: 5.672 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001584/1.619, allocations: 0.7269 MB / 0.9493 GB, free: 4.941 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.619, allocations: 0 / 0.9493 GB, free: 4.941 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002153/1.621, allocations: 475.9 kB / 0.9498 GB, free: 4.477 MB / 0.698 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 () * 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,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008077/1.629, allocations: 3.779 MB / 0.9535 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007489/1.637, allocations: 2.86 MB / 0.9563 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.637, allocations: 0 / 0.9563 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.005195/1.642, allocations: 1.97 MB / 0.9582 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/1.646, allocations: 483 kB / 0.9587 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.658, allocations: 3.047 MB / 0.9616 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/1.659, allocations: 1.423 MB / 0.963 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002675/1.662, allocations: 383.9 kB / 0.9634 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.663, allocations: 0.5969 MB / 0.964 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of SimCode: time 1.222e-06/1.663, allocations: 0 / 0.964 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/1.782, allocations: 41.24 MB / 1.004 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003332/1.783, allocations: 185.2 kB / 1.004 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.665/5.448, allocations: 64 / 1.004 GB, free: 12.39 MB / 0.7605 GB