Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.638/1.638, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.568e-05, allocations: 4 kB / 228.8 MB, free: 15.35 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2054, allocations: 38.77 MB / 267.6 MB, free: 9.328 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1012/0.3066, allocations: 66.4 MB / 334 MB, free: 6.828 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.3069, allocations: 67.97 kB / 334 MB, free: 6.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005449/0.3124, allocations: 1.432 MB / 335.5 MB, free: 5.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.35e-06/0.3124, allocations: 0 / 335.5 MB, free: 5.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.3124, allocations: 0 / 335.5 MB, free: 5.32 MB / 282.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.0004842/0.3129, allocations: 370.3 kB / 335.8 MB, free: 4.914 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.313, allocations: 12.03 kB / 335.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.313, allocations: 7.906 kB / 335.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.3132, allocations: 174.9 kB / 336 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.3132, allocations: 7.938 kB / 336 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.3133, allocations: 4 kB / 336 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3135, allocations: 105.9 kB / 336.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.534e-06/0.3135, allocations: 0 / 336.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3135, allocations: 11.94 kB / 336.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.018e-06/0.3135, allocations: 0 / 336.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.3137, allocations: 31.94 kB / 336.2 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.3145, allocations: 0.6498 MB / 336.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.3147, allocations: 106.7 kB / 336.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3148, allocations: 40.36 kB / 337 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3148, allocations: 0 / 337 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.3149, allocations: 46.48 kB / 337 MB, free: 3.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.149e-06/0.3149, allocations: 4 kB / 337 MB, free: 3.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.000338/0.3152, allocations: 69.53 kB / 337.1 MB, free: 3.453 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.3154, allocations: 158.2 kB / 337.3 MB, free: 3.262 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3155, allocations: 113 kB / 337.4 MB, free: 3.145 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3155, allocations: 25.7 kB / 337.4 MB, free: 3.113 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3157, allocations: 166.8 kB / 337.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.3157, allocations: 19.75 kB / 337.6 MB, free: 2.926 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-06/0.3157, allocations: 0 / 337.6 MB, free: 2.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3159, allocations: 322.8 kB / 337.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.3159, allocations: 8 kB / 337.9 MB, free: 2.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.736e-05/0.316, allocations: 36.3 kB / 337.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.3161, allocations: 19.94 kB / 337.9 MB, free: 2.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-06/0.3161, allocations: 0 / 337.9 MB, free: 2.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001884/0.3163, allocations: 77.61 kB / 338 MB, free: 2.441 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3163, allocations: 4 kB / 338 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.916e-06/0.3164, allocations: 3.938 kB / 338 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3164, allocations: 4.156 kB / 338 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3165, allocations: 19.94 kB / 338.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.3166, allocations: 3.984 kB / 338.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.3167, allocations: 8 kB / 338.1 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3167, allocations: 4 kB / 338.1 MB, free: 2.395 MB / 282.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 () * 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.676e-05/0.3168, allocations: 108.9 kB / 338.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.317, allocations: 7.906 kB / 338.2 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.009e-05/0.317, allocations: 23.59 kB / 338.2 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.317, allocations: 0 / 338.2 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.317, allocations: 4 kB / 338.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3171, allocations: 0 / 338.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.3176, allocations: 185.6 kB / 338.4 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-06/0.3176, allocations: 0 / 338.4 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.3177, allocations: 19.92 kB / 338.4 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.108e-06/0.3177, allocations: 0 / 338.4 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3178, allocations: 4 kB / 338.4 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.003e-06/0.3178, allocations: 0 / 338.4 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.441e-06/0.3178, allocations: 8 kB / 338.4 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.3182, allocations: 0.5071 MB / 338.9 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.3184, allocations: 93 kB / 339 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.3184, allocations: 0 / 339 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.3188, allocations: 15.94 kB / 339 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.3188, allocations: 12.17 kB / 339.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3189, allocations: 8 kB / 339.1 MB, free: 1.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.524e-05/0.3189, allocations: 91.28 kB / 339.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.319, allocations: 0 / 339.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005162/0.3195, allocations: 12 kB / 339.2 MB, free: 1.184 MB / 282.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 () * 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.0001336/0.3196, allocations: 103.2 kB / 339.3 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.3198, allocations: 39.86 kB / 339.3 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3198, allocations: 0 / 339.3 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.992e-05/0.3199, allocations: 28.44 kB / 339.3 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3203, allocations: 9.094 kB / 339.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.3207, allocations: 146.5 kB / 339.5 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.3212, allocations: 0.6967 MB / 340.2 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.3212, allocations: 15.44 kB / 340.2 MB, free: 72 kB / 282.7 MB Notification: Performance of SimCode: time 1.438e-06/0.3212, allocations: 0 / 340.2 MB, free: 72 kB / 282.7 MB Notification: Performance of Templates: time 0.00259/0.3238, allocations: 0.8525 MB / 341 MB, free: 15.22 MB / 298.7 MB