Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Blocks.Examples.BusUsage.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 1.046/1.046, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.042e-05, allocations: 0 / 154.3 MB, free: 13.21 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.139, allocations: 25.15 MB / 179.4 MB, free: 0.8203 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05715/0.1962, allocations: 33.71 MB / 213.1 MB, free: 15.44 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.1966, allocations: 63.97 kB / 213.2 MB, free: 15.38 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01735/0.214, allocations: 2.546 MB / 215.7 MB, free: 12.82 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.528e-06/0.214, allocations: 0 / 215.7 MB, free: 12.82 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.214, allocations: 0 / 215.7 MB, free: 12.82 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007402/0.2148, allocations: 362.3 kB / 216.1 MB, free: 12.43 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/0.2149, allocations: 8.031 kB / 216.1 MB, free: 12.42 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.215, allocations: 15.86 kB / 216.1 MB, free: 12.4 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.2152, allocations: 179 kB / 216.3 MB, free: 12.19 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.2153, allocations: 4 kB / 216.3 MB, free: 12.18 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.2153, allocations: 4 kB / 216.3 MB, free: 12.18 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.2157, allocations: 101.9 kB / 216.4 MB, free: 12.06 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2158, allocations: 3.984 kB / 216.4 MB, free: 12.05 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.2158, allocations: 4 kB / 216.4 MB, free: 12.05 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.2159, allocations: 11.89 kB / 216.4 MB, free: 12.04 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.2161, allocations: 31.94 kB / 216.4 MB, free: 12.01 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.2175, allocations: 0.6419 MB / 217.1 MB, free: 11.3 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.2178, allocations: 105 kB / 217.2 MB, free: 11.15 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.218, allocations: 45.75 kB / 217.2 MB, free: 11.09 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.218, allocations: 0 / 217.2 MB, free: 11.09 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.2181, allocations: 38.5 kB / 217.3 MB, free: 11.05 MB / 186.7 MB Notification: Performance of pre-optimization done (n=6): time 3.546e-06/0.2181, allocations: 4 kB / 217.3 MB, free: 11.04 MB / 186.7 MB Notification: Performance of matching and sorting (n=6): time 0.000638/0.2188, allocations: 73.47 kB / 217.3 MB, free: 10.96 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/0.219, allocations: 166.2 kB / 217.5 MB, free: 10.77 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.2192, allocations: 101 kB / 217.6 MB, free: 10.66 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.2192, allocations: 29.7 kB / 217.6 MB, free: 10.62 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.2194, allocations: 166.8 kB / 217.8 MB, free: 10.46 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.2195, allocations: 19.75 kB / 217.8 MB, free: 10.44 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.2195, allocations: 4 kB / 217.8 MB, free: 10.43 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.2198, allocations: 310.8 kB / 218.1 MB, free: 10.12 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.2199, allocations: 12 kB / 218.1 MB, free: 10.11 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.22, allocations: 44.22 kB / 218.2 MB, free: 10.05 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.475e-05/0.2202, allocations: 16 kB / 218.2 MB, free: 10.04 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.291e-06/0.2202, allocations: 0 / 218.2 MB, free: 10.04 MB / 186.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003492/0.2205, allocations: 77.42 kB / 218.3 MB, free: 9.953 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.2206, allocations: 4 kB / 218.3 MB, free: 9.949 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.2206, allocations: 4 kB / 218.3 MB, free: 9.945 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2207, allocations: 160 / 218.3 MB, free: 9.945 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.2209, allocations: 23.92 kB / 218.3 MB, free: 9.922 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.2209, allocations: 0 / 218.3 MB, free: 9.922 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.2212, allocations: 11.98 kB / 218.3 MB, free: 9.91 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.2212, allocations: 11.94 kB / 218.3 MB, free: 9.898 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.2214, allocations: 109 kB / 218.4 MB, free: 9.785 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.2217, allocations: 7.953 kB / 218.4 MB, free: 9.777 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.611e-05/0.2218, allocations: 12.02 kB / 218.5 MB, free: 9.766 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.2218, allocations: 4 kB / 218.5 MB, free: 9.762 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.318e-06/0.2218, allocations: 0 / 218.5 MB, free: 9.762 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.2219, allocations: 3.984 kB / 218.5 MB, free: 9.758 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.223, allocations: 193.5 kB / 218.7 MB, free: 9.52 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.792e-06/0.223, allocations: 4 kB / 218.7 MB, free: 9.516 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.2232, allocations: 8 kB / 218.7 MB, free: 9.508 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/0.2232, allocations: 7.953 kB / 218.7 MB, free: 9.5 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.2233, allocations: 7.984 kB / 218.7 MB, free: 9.492 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-06/0.2233, allocations: 4.125 kB / 218.7 MB, free: 9.488 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.207e-06/0.2233, allocations: 8 kB / 218.7 MB, free: 9.48 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006634/0.224, allocations: 0.4995 MB / 219.2 MB, free: 8.938 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.2242, allocations: 93 kB / 219.3 MB, free: 8.828 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.2242, allocations: 4 kB / 219.3 MB, free: 8.824 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007061/0.225, allocations: 8 kB / 219.3 MB, free: 8.816 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/0.2251, allocations: 11.94 kB / 219.3 MB, free: 8.805 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.2251, allocations: 4 kB / 219.3 MB, free: 8.801 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.2253, allocations: 99.7 kB / 219.4 MB, free: 8.703 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.131e-06/0.2253, allocations: 0 / 219.4 MB, free: 8.703 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001214/0.2265, allocations: 8 kB / 219.4 MB, free: 8.695 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001836/0.2267, allocations: 103.1 kB / 219.5 MB, free: 8.586 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.227, allocations: 35.94 kB / 219.5 MB, free: 8.551 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.963e-06/0.227, allocations: 4 kB / 219.6 MB, free: 8.547 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.2272, allocations: 24.31 kB / 219.6 MB, free: 8.523 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008245/0.228, allocations: 9.859 kB / 219.6 MB, free: 8.516 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.2288, allocations: 154.5 kB / 219.7 MB, free: 8.316 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/0.2295, allocations: 0.6929 MB / 220.4 MB, free: 7.598 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.2296, allocations: 11.44 kB / 220.4 MB, free: 7.59 MB / 186.7 MB Notification: Performance of SimCode: time 2.261e-06/0.2296, allocations: 0 / 220.4 MB, free: 7.59 MB / 186.7 MB Notification: Performance of Templates: time 0.004345/0.234, allocations: 0.855 MB / 221.3 MB, free: 6.734 MB / 186.7 MB