Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 1.926/1.926, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003485, allocations: 8 kB / 264.5 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1136, allocations: 44.5 MB / 309 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5162/0.6299, allocations: 71.78 MB / 380.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.6303, allocations: 69.09 kB / 380.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007535/0.6378, allocations: 1.437 MB / 382.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6379, allocations: 0 / 382.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.6379, allocations: 2.25 kB / 382.2 MB, free: 14.42 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.0006069/0.6385, allocations: 375.5 kB / 382.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.6386, allocations: 9.312 kB / 382.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.6387, allocations: 8.5 kB / 382.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.6388, allocations: 175.2 kB / 382.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.6389, allocations: 2.562 kB / 382.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.6389, allocations: 8.781 kB / 382.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.6394, allocations: 118.9 kB / 382.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.6394, allocations: 7.922 kB / 382.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.6395, allocations: 5.875 kB / 382.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.6395, allocations: 1.281 kB / 382.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.64, allocations: 68.48 kB / 383 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009669/0.641, allocations: 0.6409 MB / 383.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.6414, allocations: 124 kB / 383.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.6414, allocations: 2.062 kB / 383.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.6415, allocations: 41.88 kB / 383.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.747e-06/0.6415, allocations: 0 / 383.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.001055/0.6425, allocations: 142.9 kB / 384 MB, free: 12.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.6426, allocations: 160.4 kB / 384.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.6428, allocations: 117 kB / 384.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.6428, allocations: 26.77 kB / 384.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.6429, allocations: 161.5 kB / 384.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.643, allocations: 20.2 kB / 384.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.643, allocations: 0 / 384.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.698e-05/0.6431, allocations: 318.4 kB / 384.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.6433, allocations: 28.16 kB / 384.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.6436, allocations: 59.05 kB / 384.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.6438, allocations: 26.14 kB / 384.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6439, allocations: 3.938 kB / 384.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006097/0.6445, allocations: 104.1 kB / 385 MB, free: 12.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.6445, allocations: 5.594 kB / 385 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.6446, allocations: 1.25 kB / 385 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.6446, allocations: 1.406 kB / 385 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.6448, allocations: 30.73 kB / 385 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.6449, allocations: 1.844 kB / 385 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.6451, allocations: 14.31 kB / 385 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.6451, allocations: 2.594 kB / 385 MB, free: 12.01 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 0.0001425/0.6453, allocations: 115.8 kB / 385.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.6455, allocations: 7.219 kB / 385.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.6455, allocations: 14.5 kB / 385.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.6456, allocations: 1.312 kB / 385.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.6456, allocations: 11.45 kB / 385.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.6456, allocations: 0.9375 kB / 385.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/0.6464, allocations: 183.3 kB / 385.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.6465, allocations: 1.125 kB / 385.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.6467, allocations: 14.75 kB / 385.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.6467, allocations: 5 kB / 385.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.6468, allocations: 5.781 kB / 385.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/0.6468, allocations: 2.828 kB / 385.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.6468, allocations: 2.312 kB / 385.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/0.6475, allocations: 0.4932 MB / 385.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.6476, allocations: 85.11 kB / 385.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.6476, allocations: 4.969 kB / 385.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/0.6482, allocations: 13.27 kB / 386 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.6483, allocations: 13.83 kB / 386 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.6483, allocations: 5.906 kB / 386 MB, free: 11.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.812e-05/0.6484, allocations: 101.8 kB / 386.1 MB, free: 11.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.6485, allocations: 0 / 386.1 MB, free: 11.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000932/0.6494, allocations: 8.625 kB / 386.1 MB, free: 11.06 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.0001619/0.6496, allocations: 101.9 kB / 386.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005892/0.6502, allocations: 69.42 kB / 386.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6502, allocations: 0 / 386.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.6505, allocations: 42.67 kB / 386.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.6512, allocations: 3.531 kB / 386.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.652, allocations: 260.8 kB / 386.6 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.6523, allocations: 0.6973 MB / 387.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.436e-05/0.6524, allocations: 18.31 kB / 387.3 MB, free: 10.03 MB / 314.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6524, allocations: 0 / 387.3 MB, free: 10.03 MB / 314.7 MB Notification: Performance of Templates: time 0.004201/0.6567, allocations: 0.8445 MB / 388.1 MB, free: 9.98 MB / 314.7 MB