Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Blocks.Examples.BusUsage.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 2.181/2.181, allocations: 171.2 MB / 187.3 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 8 kB / 233.8 MB, free: 3.078 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.08958, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4086/0.4982, allocations: 66.47 MB / 339 MB, free: 7.504 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/0.4986, allocations: 71.16 kB / 339.1 MB, free: 7.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005961/0.5046, allocations: 1.446 MB / 340.5 MB, free: 6.199 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5047, allocations: 4 kB / 340.5 MB, free: 6.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.5047, allocations: 4 kB / 340.5 MB, free: 6.191 MB / 266.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.0005621/0.5052, allocations: 378.2 kB / 340.9 MB, free: 5.781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5053, allocations: 11.97 kB / 340.9 MB, free: 5.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.5054, allocations: 7.906 kB / 340.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.5055, allocations: 178.8 kB / 341.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.5056, allocations: 4 kB / 341.1 MB, free: 5.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.5056, allocations: 15.27 kB / 341.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.506, allocations: 111.6 kB / 341.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.506, allocations: 0 / 341.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.506, allocations: 3.625 kB / 341.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.506, allocations: 8 kB / 341.2 MB, free: 5.406 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.5064, allocations: 70.77 kB / 341.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009048/0.5073, allocations: 0.635 MB / 341.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.5076, allocations: 119.9 kB / 342.1 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.5077, allocations: 3.984 kB / 342.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.5077, allocations: 45.88 kB / 342.1 MB, free: 4.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.5077, allocations: 0 / 342.1 MB, free: 4.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000718/0.5084, allocations: 139.1 kB / 342.2 MB, free: 4.336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.5086, allocations: 158.2 kB / 342.4 MB, free: 4.145 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.5087, allocations: 126.7 kB / 342.5 MB, free: 4.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.5088, allocations: 25.7 kB / 342.5 MB, free: 3.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.5089, allocations: 165.7 kB / 342.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.5089, allocations: 15.62 kB / 342.7 MB, free: 3.816 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.5089, allocations: 0 / 342.7 MB, free: 3.816 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5091, allocations: 322.7 kB / 343 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.5092, allocations: 27.92 kB / 343.1 MB, free: 3.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.5094, allocations: 55.16 kB / 343.1 MB, free: 3.406 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.5096, allocations: 27.61 kB / 343.1 MB, free: 3.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5096, allocations: 4 kB / 343.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004094/0.51, allocations: 105.8 kB / 343.3 MB, free: 3.281 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.5101, allocations: 5.406 kB / 343.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.5101, allocations: 4.156 kB / 343.3 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.5101, allocations: 4 kB / 343.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.5103, allocations: 15.98 kB / 343.3 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5103, allocations: 0 / 343.3 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.5105, allocations: 13.05 kB / 343.3 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.5105, allocations: 7.938 kB / 343.3 MB, free: 3.234 MB / 266.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 0.0001657/0.5107, allocations: 117.4 kB / 343.4 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.5108, allocations: 15.59 kB / 343.4 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.5108, allocations: 18.53 kB / 343.5 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5108, allocations: 0 / 343.5 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5109, allocations: 4 kB / 343.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5109, allocations: 0 / 343.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.5114, allocations: 185.5 kB / 343.6 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5114, allocations: 3.938 kB / 343.6 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.5115, allocations: 16.55 kB / 343.7 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.5116, allocations: 0 / 343.7 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.5116, allocations: 4 kB / 343.7 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5116, allocations: 4.125 kB / 343.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.5116, allocations: 11.94 kB / 343.7 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.5122, allocations: 0.4905 MB / 344.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.5123, allocations: 92.94 kB / 344.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.5123, allocations: 0 / 344.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.5126, allocations: 15.55 kB / 344.3 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.5127, allocations: 11.94 kB / 344.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.5128, allocations: 4 kB / 344.3 MB, free: 2.191 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.317e-05/0.5128, allocations: 98.02 kB / 344.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5128, allocations: 0 / 344.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000499/0.5134, allocations: 12 kB / 344.4 MB, free: 2.09 MB / 266.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 0.0001267/0.5135, allocations: 98.56 kB / 344.5 MB, free: 1.988 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.5139, allocations: 66.64 kB / 344.6 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.5139, allocations: 4 kB / 344.6 MB, free: 1.926 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.5141, allocations: 39.23 kB / 344.6 MB, free: 1.895 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.5145, allocations: 12 kB / 344.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006556/0.5152, allocations: 261.6 kB / 344.9 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.5155, allocations: 0.6926 MB / 345.6 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.5156, allocations: 10.5 kB / 345.6 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5156, allocations: 0 / 345.6 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of Templates: time 0.00312/0.5187, allocations: 0.858 MB / 346.4 MB, free: 8 kB / 266.7 MB