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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.818/1.818, allocations: 171.3 MB / 179.2 MB, free: 7.594 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.694e-05/1.706e-05, allocations: 0 / 222.5 MB, free: 8.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07019/0.07023, allocations: 38.76 MB / 261.3 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3215/0.3918, allocations: 65.75 MB / 327 MB, free: 6.449 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.3921, allocations: 67.72 kB / 327.1 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005281/0.3974, allocations: 1.422 MB / 328.5 MB, free: 5.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.031e-06/0.3974, allocations: 0 / 328.5 MB, free: 5.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.41e-06/0.3974, allocations: 0 / 328.5 MB, free: 5.184 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.0004835/0.3979, allocations: 376 kB / 328.9 MB, free: 4.781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.398, allocations: 8.031 kB / 328.9 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.398, allocations: 7.906 kB / 328.9 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3982, allocations: 174.9 kB / 329.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.3982, allocations: 4 kB / 329.1 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3983, allocations: 4 kB / 329.1 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/0.3984, allocations: 29.64 kB / 329.1 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3986, allocations: 94.22 kB / 329.2 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.48e-06/0.3986, allocations: 0 / 329.2 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3986, allocations: 4 kB / 329.2 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-06/0.3986, allocations: 0 / 329.2 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007459/0.3994, allocations: 0.622 MB / 329.8 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.3996, allocations: 100.3 kB / 329.9 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.629e-05/0.3997, allocations: 35.86 kB / 329.9 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.3997, allocations: 0 / 329.9 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.3997, allocations: 49.52 kB / 330 MB, free: 3.539 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.381e-06/0.3997, allocations: 0 / 330 MB, free: 3.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003248/0.4001, allocations: 67.28 kB / 330.1 MB, free: 3.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.4002, allocations: 158.2 kB / 330.2 MB, free: 3.281 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.4003, allocations: 110.8 kB / 330.3 MB, free: 3.176 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.4004, allocations: 25.7 kB / 330.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4005, allocations: 170.3 kB / 330.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.4005, allocations: 11.75 kB / 330.5 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-06/0.4005, allocations: 0 / 330.5 MB, free: 2.965 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4007, allocations: 318.5 kB / 330.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.4008, allocations: 11.38 kB / 330.8 MB, free: 2.641 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.4008, allocations: 41.31 kB / 330.9 MB, free: 2.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.074e-05/0.4009, allocations: 15.33 kB / 330.9 MB, free: 2.578 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.879e-06/0.4009, allocations: 4 kB / 330.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001585/0.4011, allocations: 60.69 kB / 331 MB, free: 2.516 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4011, allocations: 8 kB / 331 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.403e-06/0.4011, allocations: 0 / 331 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4011, allocations: 0 / 331 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.4013, allocations: 26.02 kB / 331 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.4013, allocations: 0 / 331 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.681e-05/0.4014, allocations: 11.98 kB / 331 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.4014, allocations: 4 kB / 331 MB, free: 2.469 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 () * 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.000101/0.4016, allocations: 112 kB / 331.1 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.4017, allocations: 7.906 kB / 331.1 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.4018, allocations: 11.05 kB / 331.1 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.385e-06/0.4018, allocations: 8 kB / 331.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.518e-06/0.4018, allocations: 0 / 331.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.1e-06/0.4018, allocations: 11.86 kB / 331.2 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.4023, allocations: 156.8 kB / 331.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-06/0.4023, allocations: 0 / 331.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.4024, allocations: 19.92 kB / 331.3 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.483e-06/0.4024, allocations: 3.953 kB / 331.3 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4024, allocations: 4 kB / 331.3 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.309e-06/0.4025, allocations: 0 / 331.3 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.066e-06/0.4025, allocations: 0.875 kB / 331.3 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.4029, allocations: 0.5118 MB / 331.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/0.403, allocations: 85.02 kB / 331.9 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.403, allocations: 0 / 331.9 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.4034, allocations: 12.17 kB / 332 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.4034, allocations: 15.56 kB / 332 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.4035, allocations: 8 kB / 332 MB, free: 1.438 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.882e-05/0.4036, allocations: 89.97 kB / 332.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.4036, allocations: 0 / 332.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005352/0.4041, allocations: 8 kB / 332.1 MB, free: 1.344 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 () * 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.0001368/0.4043, allocations: 106.6 kB / 332.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.4044, allocations: 29.94 kB / 332.2 MB, free: 1.211 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.573e-06/0.4044, allocations: 0 / 332.2 MB, free: 1.211 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.465e-05/0.4045, allocations: 22.19 kB / 332.2 MB, free: 1.195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.4049, allocations: 4.625 kB / 332.2 MB, free: 1.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.4054, allocations: 159.9 kB / 332.4 MB, free: 1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.4058, allocations: 0.6963 MB / 333.1 MB, free: 284 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.4059, allocations: 7.438 kB / 333.1 MB, free: 280 kB / 266.7 MB Notification: Performance of SimCode: time 1.569e-06/0.4059, allocations: 0 / 333.1 MB, free: 280 kB / 266.7 MB Notification: Performance of Templates: time 0.002671/0.4086, allocations: 0.8488 MB / 333.9 MB, free: 15.43 MB / 282.7 MB