Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.035/1.035, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 4 kB / 158.9 MB, free: 15.24 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06412/0.06449, allocations: 25.16 MB / 184 MB, free: 6.039 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.2972, allocations: 33.8 MB / 217.8 MB, free: 6.699 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.2975, allocations: 65.42 kB / 217.9 MB, free: 6.691 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01406/0.3116, allocations: 2.538 MB / 220.4 MB, free: 5.457 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3117, allocations: 0 / 220.4 MB, free: 5.457 MB / 170.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3117, allocations: 0 / 220.4 MB, free: 5.457 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.0004622/0.3122, allocations: 382.8 kB / 220.8 MB, free: 5.07 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3122, allocations: 7.688 kB / 220.8 MB, free: 5.07 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.3123, allocations: 15.58 kB / 220.8 MB, free: 5.059 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3124, allocations: 170.8 kB / 221 MB, free: 4.855 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.3124, allocations: 11.34 kB / 221 MB, free: 4.852 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3124, allocations: 3.844 kB / 221 MB, free: 4.852 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.3128, allocations: 122.6 kB / 221.1 MB, free: 4.758 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3128, allocations: 3.844 kB / 221.1 MB, free: 4.758 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3128, allocations: 0.6875 kB / 221.1 MB, free: 4.758 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3128, allocations: 3.953 kB / 221.1 MB, free: 4.754 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.3131, allocations: 76.7 kB / 221.2 MB, free: 4.73 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.3138, allocations: 0.6444 MB / 221.9 MB, free: 4.09 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.314, allocations: 122.2 kB / 222 MB, free: 3.957 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.314, allocations: 0 / 222 MB, free: 3.957 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.3141, allocations: 45.91 kB / 222 MB, free: 3.91 MB / 170.7 MB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.3141, allocations: 3.984 kB / 222 MB, free: 3.906 MB / 170.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007058/0.3148, allocations: 140.2 kB / 222.2 MB, free: 3.844 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.3149, allocations: 154.2 kB / 222.3 MB, free: 3.656 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.315, allocations: 122.3 kB / 222.4 MB, free: 3.547 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.315, allocations: 32.89 kB / 222.5 MB, free: 3.516 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.3151, allocations: 162.4 kB / 222.6 MB, free: 3.355 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.3151, allocations: 15.31 kB / 222.6 MB, free: 3.348 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.3151, allocations: 4.094 kB / 222.6 MB, free: 3.344 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.3152, allocations: 316.4 kB / 222.9 MB, free: 3.027 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.3153, allocations: 22.95 kB / 223 MB, free: 3.023 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.3155, allocations: 58.72 kB / 223 MB, free: 2.977 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3156, allocations: 26.52 kB / 223.1 MB, free: 2.973 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3156, allocations: 0 / 223.1 MB, free: 2.973 MB / 170.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003525/0.316, allocations: 114.6 kB / 223.2 MB, free: 2.914 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.316, allocations: 7.812 kB / 223.2 MB, free: 2.91 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3161, allocations: 0 / 223.2 MB, free: 2.91 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3161, allocations: 7.703 kB / 223.2 MB, free: 2.906 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.3162, allocations: 15.72 kB / 223.2 MB, free: 2.902 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3163, allocations: 0 / 223.2 MB, free: 2.902 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3164, allocations: 15.58 kB / 223.2 MB, free: 2.895 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3164, allocations: 3.844 kB / 223.2 MB, free: 2.895 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 8.789e-05/0.3165, allocations: 124.7 kB / 223.3 MB, free: 2.773 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.3166, allocations: 7.891 kB / 223.3 MB, free: 2.77 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.3167, allocations: 19.34 kB / 223.4 MB, free: 2.762 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3167, allocations: 0 / 223.4 MB, free: 2.762 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3167, allocations: 3.656 kB / 223.4 MB, free: 2.762 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3167, allocations: 0 / 223.4 MB, free: 2.762 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.3171, allocations: 183.2 kB / 223.5 MB, free: 2.562 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3172, allocations: 0 / 223.5 MB, free: 2.562 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.3173, allocations: 19.14 kB / 223.6 MB, free: 2.559 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.3173, allocations: 7.766 kB / 223.6 MB, free: 2.555 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3173, allocations: 0 / 223.6 MB, free: 2.555 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3173, allocations: 3.875 kB / 223.6 MB, free: 2.555 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3173, allocations: 7.938 kB / 223.6 MB, free: 2.547 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.3177, allocations: 496.5 kB / 224.1 MB, free: 2.102 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3178, allocations: 92.12 kB / 224.2 MB, free: 2 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3178, allocations: 7.891 kB / 224.2 MB, free: 1.996 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.3181, allocations: 11.8 kB / 224.2 MB, free: 1.988 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.3182, allocations: 10.94 kB / 224.2 MB, free: 1.988 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.3183, allocations: 12.11 kB / 224.2 MB, free: 1.977 MB / 170.7 MB Notification: Performance of sorting global known variables: time 4.808e-05/0.3183, allocations: 89.53 kB / 224.3 MB, free: 1.902 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3183, allocations: 0 / 224.3 MB, free: 1.902 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004805/0.3188, allocations: 15.16 kB / 224.3 MB, free: 1.898 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 9.951e-05/0.3189, allocations: 102.2 kB / 224.4 MB, free: 1.805 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0003507/0.3193, allocations: 79.78 kB / 224.5 MB, free: 1.781 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3193, allocations: 0 / 224.5 MB, free: 1.781 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.3195, allocations: 38.5 kB / 224.5 MB, free: 1.77 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.3199, allocations: 8.266 kB / 224.5 MB, free: 1.77 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.3204, allocations: 239.4 kB / 224.8 MB, free: 1.531 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.3206, allocations: 0.6998 MB / 225.5 MB, free: 0.8203 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.3207, allocations: 11.28 kB / 225.5 MB, free: 0.8164 MB / 170.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3207, allocations: 0 / 225.5 MB, free: 0.8164 MB / 170.7 MB Notification: Performance of Templates: time 0.002556/0.3232, allocations: 0.8585 MB / 226.3 MB, free: 400 kB / 170.7 MB