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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.1/1.1, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.822e-05/1.834e-05, allocations: 4 kB / 148.1 MB, free: 6.242 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04544/0.04548, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1722/0.2177, allocations: 33.05 MB / 206.3 MB, free: 6.996 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.2179, allocations: 58.55 kB / 206.4 MB, free: 6.996 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008672/0.2266, allocations: 2.53 MB / 208.9 MB, free: 6.602 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.582e-06/0.2266, allocations: 0 / 208.9 MB, free: 6.602 MB / 170.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.2267, allocations: 1.469 kB / 208.9 MB, free: 6.602 MB / 170.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.0003486/0.227, allocations: 374.8 kB / 209.3 MB, free: 6.238 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2271, allocations: 8.312 kB / 209.3 MB, free: 6.238 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.2271, allocations: 15.36 kB / 209.3 MB, free: 6.23 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.711e-05/0.2272, allocations: 175.1 kB / 209.5 MB, free: 6.023 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2273, allocations: 4.422 kB / 209.5 MB, free: 6.023 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.2273, allocations: 3.625 kB / 209.5 MB, free: 6.023 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001076/0.2274, allocations: 21.41 kB / 209.5 MB, free: 6.023 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.2276, allocations: 90.75 kB / 209.6 MB, free: 5.949 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2276, allocations: 1.688 kB / 209.6 MB, free: 5.949 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.2276, allocations: 4.891 kB / 209.6 MB, free: 5.945 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.003e-06/0.2276, allocations: 6.5 kB / 209.6 MB, free: 5.941 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.2282, allocations: 0.6172 MB / 210.2 MB, free: 5.363 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.2283, allocations: 99.94 kB / 210.3 MB, free: 5.238 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.191e-05/0.2284, allocations: 45.98 kB / 210.4 MB, free: 5.191 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.2284, allocations: 0 / 210.4 MB, free: 5.191 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.2284, allocations: 39.16 kB / 210.4 MB, free: 5.152 MB / 170.7 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.2284, allocations: 0 / 210.4 MB, free: 5.152 MB / 170.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003017/0.2288, allocations: 75.31 kB / 210.5 MB, free: 5.105 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.2288, allocations: 157.1 kB / 210.6 MB, free: 4.918 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.2289, allocations: 108.9 kB / 210.7 MB, free: 4.824 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.2289, allocations: 26.39 kB / 210.8 MB, free: 4.793 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.229, allocations: 168 kB / 210.9 MB, free: 4.637 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.229, allocations: 14 kB / 210.9 MB, free: 4.625 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-06/0.229, allocations: 160 / 210.9 MB, free: 4.625 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 4.8e-05/0.2291, allocations: 319.8 kB / 211.3 MB, free: 4.309 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.445e-05/0.2291, allocations: 5.594 kB / 211.3 MB, free: 4.309 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.565e-05/0.2292, allocations: 40.52 kB / 211.3 MB, free: 4.27 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/0.2292, allocations: 17.66 kB / 211.3 MB, free: 4.266 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-06/0.2292, allocations: 3.938 kB / 211.3 MB, free: 4.262 MB / 170.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001436/0.2294, allocations: 62.14 kB / 211.4 MB, free: 4.227 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2294, allocations: 9.672 kB / 211.4 MB, free: 4.223 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.343e-06/0.2294, allocations: 1.188 kB / 211.4 MB, free: 4.223 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2295, allocations: 2.5 kB / 211.4 MB, free: 4.223 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.2296, allocations: 13.95 kB / 211.4 MB, free: 4.223 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.689e-06/0.2296, allocations: 1.625 kB / 211.4 MB, free: 4.223 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.99e-05/0.2297, allocations: 18.59 kB / 211.4 MB, free: 4.215 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2298, allocations: 3.906 kB / 211.4 MB, free: 4.215 MB / 170.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 5.783e-05/0.2298, allocations: 110.5 kB / 211.5 MB, free: 4.102 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.23, allocations: 9.391 kB / 211.6 MB, free: 4.102 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.23, allocations: 11.09 kB / 211.6 MB, free: 4.094 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.281e-06/0.23, allocations: 1.438 kB / 211.6 MB, free: 4.094 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.606e-06/0.23, allocations: 5.266 kB / 211.6 MB, free: 4.094 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2301, allocations: 5.5 kB / 211.6 MB, free: 4.09 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.2305, allocations: 158.5 kB / 211.7 MB, free: 3.934 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.712e-06/0.2305, allocations: 1.594 kB / 211.7 MB, free: 3.934 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.2306, allocations: 18.61 kB / 211.7 MB, free: 3.93 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.284e-06/0.2306, allocations: 1.344 kB / 211.7 MB, free: 3.93 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.2306, allocations: 1.688 kB / 211.8 MB, free: 3.93 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.2306, allocations: 5.031 kB / 211.8 MB, free: 3.926 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.394e-06/0.2307, allocations: 7.312 kB / 211.8 MB, free: 3.922 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.2309, allocations: 0.5037 MB / 212.3 MB, free: 3.418 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.2309, allocations: 91.14 kB / 212.4 MB, free: 3.316 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.231, allocations: 2.859 kB / 212.4 MB, free: 3.316 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.2313, allocations: 13.02 kB / 212.4 MB, free: 3.312 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.2314, allocations: 11.53 kB / 212.4 MB, free: 3.312 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2314, allocations: 3.344 kB / 212.4 MB, free: 3.312 MB / 170.7 MB Notification: Performance of sorting global known variables: time 4.417e-05/0.2315, allocations: 88.48 kB / 212.5 MB, free: 3.238 MB / 170.7 MB Notification: Performance of sort global known variables: time 6.66e-07/0.2315, allocations: 0 / 212.5 MB, free: 3.238 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005184/0.232, allocations: 16.67 kB / 212.5 MB, free: 3.23 MB / 170.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 8.621e-05/0.2321, allocations: 103.3 kB / 212.6 MB, free: 3.137 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.2322, allocations: 33.47 kB / 212.6 MB, free: 3.133 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2323, allocations: 1.5 kB / 212.6 MB, free: 3.133 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 6.057e-05/0.2323, allocations: 20.75 kB / 212.6 MB, free: 3.129 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.2327, allocations: 4.312 kB / 212.6 MB, free: 3.129 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.2331, allocations: 149.2 kB / 212.8 MB, free: 2.98 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.2334, allocations: 0.6936 MB / 213.5 MB, free: 18.29 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.2335, allocations: 9.969 kB / 213.5 MB, free: 18.28 MB / 186.7 MB Notification: Performance of SimCode: time 1.505e-06/0.2335, allocations: 1.031 kB / 213.5 MB, free: 18.28 MB / 186.7 MB Notification: Performance of Templates: time 0.002399/0.2359, allocations: 0.8489 MB / 214.3 MB, free: 18.22 MB / 186.7 MB