Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 2.364/2.364, allocations: 194.9 MB / 211.7 MB, free: 2.875 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005567/0.000557, allocations: 8 kB / 264.5 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1054, allocations: 44.5 MB / 309 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4629/0.5684, allocations: 71.78 MB / 380.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5687, allocations: 72.31 kB / 380.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005858/0.5746, allocations: 1.445 MB / 382.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5746, allocations: 0 / 382.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.5746, allocations: 1.562 kB / 382.3 MB, free: 14.96 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.000468/0.5751, allocations: 375.6 kB / 382.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5752, allocations: 9.125 kB / 382.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.5752, allocations: 9.781 kB / 382.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.5754, allocations: 176.1 kB / 382.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.5754, allocations: 1.469 kB / 382.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.5754, allocations: 7.594 kB / 382.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.5757, allocations: 121.3 kB / 383 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5758, allocations: 1.812 kB / 383 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.5758, allocations: 3.25 kB / 383 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.5758, allocations: 5.844 kB / 383 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.5761, allocations: 68.03 kB / 383.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006825/0.5768, allocations: 0.6347 MB / 383.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.5771, allocations: 128 kB / 383.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.5771, allocations: 2 kB / 383.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.5772, allocations: 41.36 kB / 383.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.5772, allocations: 4 kB / 383.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007064/0.5779, allocations: 142.6 kB / 384 MB, free: 13.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.578, allocations: 156.8 kB / 384.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.5781, allocations: 119.2 kB / 384.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.5781, allocations: 25.7 kB / 384.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.5782, allocations: 98.34 kB / 384.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.5782, allocations: 20.12 kB / 384.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.5782, allocations: 0 / 384.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.41e-05/0.5783, allocations: 316.2 kB / 384.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.5785, allocations: 32.64 kB / 384.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.5786, allocations: 55.33 kB / 384.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.5788, allocations: 34.78 kB / 384.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5788, allocations: 0 / 384.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003784/0.5792, allocations: 111.7 kB / 385 MB, free: 12.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5792, allocations: 6 kB / 385 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.5793, allocations: 5.516 kB / 385 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.5793, allocations: 3.109 kB / 385 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.5794, allocations: 16.23 kB / 385 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.5795, allocations: 6.875 kB / 385 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.5796, allocations: 13.78 kB / 385 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.5796, allocations: 7.219 kB / 385 MB, free: 12.61 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 9.599e-05/0.5797, allocations: 117.5 kB / 385.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.5799, allocations: 7.844 kB / 385.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.5799, allocations: 14.48 kB / 385.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.5799, allocations: 2 kB / 385.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.5799, allocations: 6.594 kB / 385.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.58, allocations: 5.312 kB / 385.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.5805, allocations: 182 kB / 385.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5805, allocations: 2.781 kB / 385.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.5806, allocations: 13.36 kB / 385.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5806, allocations: 1.125 kB / 385.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.5807, allocations: 4.891 kB / 385.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.5807, allocations: 2.094 kB / 385.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5807, allocations: 1.156 kB / 385.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.5811, allocations: 0.4947 MB / 385.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.5812, allocations: 86.48 kB / 386 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.5813, allocations: 8.453 kB / 386 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.5816, allocations: 9.234 kB / 386 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.5816, allocations: 15.64 kB / 386 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.5817, allocations: 2.906 kB / 386 MB, free: 11.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.876e-05/0.5817, allocations: 92.58 kB / 386.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5817, allocations: 4 kB / 386.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000523/0.5823, allocations: 9.781 kB / 386.1 MB, free: 11.66 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.0001248/0.5824, allocations: 108.4 kB / 386.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000389/0.5828, allocations: 70.53 kB / 386.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5828, allocations: 0 / 386.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.583, allocations: 38.08 kB / 386.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.5834, allocations: 6.688 kB / 386.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.584, allocations: 233.8 kB / 386.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.5842, allocations: 0.6983 MB / 387.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.475e-05/0.5843, allocations: 5.188 kB / 387.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.5844, allocations: 11.69 kB / 387.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5844, allocations: 0 / 387.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of Templates: time 0.003193/0.5876, allocations: 444 kB / 387.7 MB, free: 10.62 MB / 314.7 MB