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.061/1.061, allocations: 111.1 MB / 126.7 MB, free: 6.125 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002628, allocations: 4 kB / 158.3 MB, free: 15.17 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04475/0.04504, allocations: 25.17 MB / 183.5 MB, free: 5.969 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.2158, allocations: 33.8 MB / 217.3 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.216, allocations: 59.81 kB / 217.3 MB, free: 6.707 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008771/0.2248, allocations: 2.547 MB / 219.9 MB, free: 5.465 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.704e-06/0.2248, allocations: 3.812 kB / 219.9 MB, free: 5.465 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.2248, allocations: 0 / 219.9 MB, free: 5.465 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.0003743/0.2252, allocations: 382.3 kB / 220.3 MB, free: 5.078 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2253, allocations: 15.48 kB / 220.3 MB, free: 5.074 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.2253, allocations: 15.61 kB / 220.3 MB, free: 5.062 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.469e-05/0.2254, allocations: 170.8 kB / 220.5 MB, free: 4.859 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.2255, allocations: 3.562 kB / 220.5 MB, free: 4.859 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.2255, allocations: 7.625 kB / 220.5 MB, free: 4.859 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.2258, allocations: 118.9 kB / 220.6 MB, free: 4.766 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.92e-06/0.2258, allocations: 0 / 220.6 MB, free: 4.766 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2258, allocations: 3.625 kB / 220.6 MB, free: 4.766 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.851e-06/0.2258, allocations: 7.797 kB / 220.6 MB, free: 4.762 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.226, allocations: 69.5 kB / 220.7 MB, free: 4.738 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.2266, allocations: 0.6435 MB / 221.3 MB, free: 4.102 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.2268, allocations: 126.1 kB / 221.4 MB, free: 3.969 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.2269, allocations: 0 / 221.4 MB, free: 3.969 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.2269, allocations: 37.66 kB / 221.5 MB, free: 3.93 MB / 170.7 MB Notification: Performance of pre-optimization done (n=6): time 2.872e-06/0.2269, allocations: 0 / 221.5 MB, free: 3.93 MB / 170.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005551/0.2275, allocations: 139.8 kB / 221.6 MB, free: 3.859 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.2275, allocations: 165.6 kB / 221.8 MB, free: 3.668 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.2276, allocations: 107.6 kB / 221.9 MB, free: 3.574 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.2276, allocations: 25.7 kB / 221.9 MB, free: 3.543 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.2277, allocations: 165.9 kB / 222.1 MB, free: 3.383 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.2277, allocations: 19.2 kB / 222.1 MB, free: 3.371 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-06/0.2278, allocations: 3.938 kB / 222.1 MB, free: 3.367 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.068e-05/0.2278, allocations: 314.7 kB / 222.4 MB, free: 3.055 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.2279, allocations: 23.36 kB / 222.4 MB, free: 3.047 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.228, allocations: 58.44 kB / 222.5 MB, free: 3 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.2282, allocations: 38.81 kB / 222.5 MB, free: 2.984 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.671e-06/0.2282, allocations: 0 / 222.5 MB, free: 2.984 MB / 170.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002872/0.2285, allocations: 109.7 kB / 222.6 MB, free: 2.93 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2285, allocations: 3.781 kB / 222.6 MB, free: 2.93 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.287e-06/0.2285, allocations: 7.875 kB / 222.6 MB, free: 2.922 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2286, allocations: 3.844 kB / 222.6 MB, free: 2.922 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.2287, allocations: 11.5 kB / 222.6 MB, free: 2.922 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.978e-06/0.2287, allocations: 3.984 kB / 222.7 MB, free: 2.918 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-05/0.2288, allocations: 19.19 kB / 222.7 MB, free: 2.91 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.2288, allocations: 3.875 kB / 222.7 MB, free: 2.91 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 () * Number of clocked 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 7.938e-05/0.2289, allocations: 117.2 kB / 222.8 MB, free: 2.793 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.2291, allocations: 7.766 kB / 222.8 MB, free: 2.789 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.2291, allocations: 11.39 kB / 222.8 MB, free: 2.789 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.466e-06/0.2291, allocations: 0 / 222.8 MB, free: 2.789 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.444e-06/0.2291, allocations: 3.844 kB / 222.8 MB, free: 2.789 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.184e-06/0.2291, allocations: 0 / 222.8 MB, free: 2.789 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.2296, allocations: 190.4 kB / 223 MB, free: 2.586 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-06/0.2296, allocations: 0 / 223 MB, free: 2.586 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.214e-05/0.2297, allocations: 19.48 kB / 223 MB, free: 2.578 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2297, allocations: 3.75 kB / 223 MB, free: 2.578 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.2298, allocations: 3.953 kB / 223 MB, free: 2.574 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.921e-06/0.2298, allocations: 3.719 kB / 223 MB, free: 2.574 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.527e-06/0.2298, allocations: 0 / 223 MB, free: 2.574 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.2302, allocations: 0.5417 MB / 223.6 MB, free: 2.055 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.2302, allocations: 88.84 kB / 223.7 MB, free: 1.953 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.2303, allocations: 3.844 kB / 223.7 MB, free: 1.953 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.2306, allocations: 14.86 kB / 223.7 MB, free: 1.949 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.2307, allocations: 11.75 kB / 223.7 MB, free: 1.941 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.505e-06/0.2307, allocations: 7.562 kB / 223.7 MB, free: 1.938 MB / 170.7 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.2308, allocations: 95.12 kB / 223.8 MB, free: 1.859 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.2308, allocations: 0 / 223.8 MB, free: 1.859 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005453/0.2313, allocations: 11.56 kB / 223.8 MB, free: 1.855 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 () * Number of clocked 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.578e-05/0.2314, allocations: 102.5 kB / 223.9 MB, free: 1.762 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.2317, allocations: 71.97 kB / 224 MB, free: 1.742 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2317, allocations: 3.938 kB / 224 MB, free: 1.738 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.2319, allocations: 41.88 kB / 224 MB, free: 1.727 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.2322, allocations: 8.344 kB / 224 MB, free: 1.723 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.2327, allocations: 235.9 kB / 224.3 MB, free: 1.488 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.2329, allocations: 0.7033 MB / 225 MB, free: 0.7773 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.233, allocations: 11.31 kB / 225 MB, free: 0.7734 MB / 170.7 MB Notification: Performance of SimCode: time 1.838e-06/0.233, allocations: 0 / 225 MB, free: 0.7734 MB / 170.7 MB Notification: Performance of Templates: time 0.002291/0.2353, allocations: 0.857 MB / 225.8 MB, free: 352 kB / 170.7 MB