Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Blocks.Examples.BusUsage.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 1.827/1.827, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006573/0.0006575, allocations: 11.98 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07951/0.08022, allocations: 44.5 MB / 308.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4475, allocations: 71.78 MB / 380.2 MB, free: 18.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.4477, allocations: 68.73 kB / 380.3 MB, free: 18.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004792/0.4525, allocations: 1.442 MB / 381.7 MB, free: 18.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.236e-06/0.4525, allocations: 4.969 kB / 381.7 MB, free: 18.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.4526, allocations: 1 kB / 381.7 MB, free: 18.39 MB / 314.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.0003523/0.4529, allocations: 372 kB / 382.1 MB, free: 18.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.453, allocations: 13.62 kB / 382.1 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.453, allocations: 7.375 kB / 382.1 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.057e-05/0.4531, allocations: 173.5 kB / 382.3 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.4532, allocations: 9.875 kB / 382.3 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.4532, allocations: 4.312 kB / 382.3 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.4534, allocations: 116.5 kB / 382.4 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4535, allocations: 1 kB / 382.4 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.4535, allocations: 2.844 kB / 382.4 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.63e-06/0.4535, allocations: 10.12 kB / 382.4 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.4537, allocations: 66.3 kB / 382.5 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.4543, allocations: 0.6376 MB / 383.1 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.4545, allocations: 122.6 kB / 383.2 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.4546, allocations: 1.469 kB / 383.2 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.4546, allocations: 41.05 kB / 383.3 MB, free: 16.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.393e-06/0.4546, allocations: 0 / 383.3 MB, free: 16.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005609/0.4552, allocations: 147.6 kB / 383.4 MB, free: 16.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.4553, allocations: 156.3 kB / 383.6 MB, free: 16.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.4553, allocations: 111 kB / 383.7 MB, free: 16.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4554, allocations: 27.17 kB / 383.7 MB, free: 16.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.4554, allocations: 164.1 kB / 383.9 MB, free: 16.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.4555, allocations: 20.84 kB / 383.9 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-06/0.4555, allocations: 0 / 383.9 MB, free: 16.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.4555, allocations: 316.5 kB / 384.2 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.4556, allocations: 19.8 kB / 384.2 MB, free: 16.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.4558, allocations: 60.81 kB / 384.3 MB, free: 16.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.4559, allocations: 30.92 kB / 384.3 MB, free: 16.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.08e-06/0.4559, allocations: 5.281 kB / 384.3 MB, free: 16.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002941/0.4562, allocations: 98.31 kB / 384.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4563, allocations: 6.188 kB / 384.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.734e-06/0.4563, allocations: 5.281 kB / 384.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4563, allocations: 1 kB / 384.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4564, allocations: 18.86 kB / 384.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.4564, allocations: 5.078 kB / 384.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.78e-05/0.4566, allocations: 15.89 kB / 384.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.4566, allocations: 10.47 kB / 384.5 MB, free: 15.99 MB / 314.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.335e-05/0.4567, allocations: 113.8 kB / 384.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.4568, allocations: 14.81 kB / 384.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.4568, allocations: 8.938 kB / 384.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4569, allocations: 3.266 kB / 384.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.519e-06/0.4569, allocations: 1.781 kB / 384.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.133e-06/0.4569, allocations: 9.875 kB / 384.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.4573, allocations: 186.2 kB / 384.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-06/0.4574, allocations: 1.719 kB / 384.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.4575, allocations: 21.53 kB / 384.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.231e-06/0.4575, allocations: 1.25 kB / 384.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4575, allocations: 8.047 kB / 384.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4575, allocations: 1.156 kB / 384.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4575, allocations: 1.688 kB / 384.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.4579, allocations: 0.5387 MB / 385.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.458, allocations: 85.27 kB / 385.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.458, allocations: 10.69 kB / 385.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.4583, allocations: 10.31 kB / 385.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.4584, allocations: 7.625 kB / 385.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.372e-06/0.4584, allocations: 1.531 kB / 385.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.687e-05/0.4585, allocations: 95.95 kB / 385.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.51e-07/0.4585, allocations: 0 / 385.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001007/0.4596, allocations: 12.56 kB / 385.6 MB, free: 14.97 MB / 314.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.0001243/0.4597, allocations: 104.9 kB / 385.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.4602, allocations: 71.33 kB / 385.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.4602, allocations: 6.094 kB / 385.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.4605, allocations: 36.31 kB / 385.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006998/0.4612, allocations: 10.48 kB / 385.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/0.4619, allocations: 257.2 kB / 386.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.4622, allocations: 0.6943 MB / 386.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.617e-05/0.4623, allocations: 14.16 kB / 386.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of SimCode: time 2.101e-06/0.4623, allocations: 4 kB / 386.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of Templates: time 0.002615/0.4649, allocations: 0.8478 MB / 387.6 MB, free: 13.89 MB / 314.7 MB