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.885/1.885, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003653, allocations: 8 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0796/0.07999, allocations: 44.5 MB / 308.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00198/0.08201, allocations: 1.262 MB / 309.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008196/0.08286, allocations: 432.2 kB / 310 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.08293, allocations: 0 / 310 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.08298, allocations: 7.875 kB / 310 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.08308, allocations: 15.95 kB / 310 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.08321, allocations: 15.98 kB / 310.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.29e-05/0.08332, allocations: 39.89 kB / 310.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.08348, allocations: 31.98 kB / 310.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.08359, allocations: 27.84 kB / 310.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.08368, allocations: 23.86 kB / 310.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.08371, allocations: 0 / 310.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.08374, allocations: 4 kB / 310.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.08376, allocations: 7.984 kB / 310.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.08381, allocations: 33.64 kB / 310.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.684e-05/0.08391, allocations: 43.86 kB / 310.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.566e-06/0.08392, allocations: 0 / 310.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.08393, allocations: 0 / 310.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.903e-06/0.08394, allocations: 0 / 310.3 MB, free: 15.08 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.0005403/0.0845, allocations: 375.4 kB / 310.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.08455, allocations: 8.031 kB / 310.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.08459, allocations: 7.906 kB / 310.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.08476, allocations: 175 kB / 310.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.08481, allocations: 11.94 kB / 310.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.08484, allocations: 8 kB / 310.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.08513, allocations: 114 kB / 311 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.08516, allocations: 0 / 311 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.08518, allocations: 3.984 kB / 311 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.061e-06/0.0852, allocations: 4 kB / 311 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.08547, allocations: 71.89 kB / 311 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008719/0.08636, allocations: 0.6419 MB / 311.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.08662, allocations: 121.1 kB / 311.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.08665, allocations: 0 / 311.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.08671, allocations: 50.48 kB / 311.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.137e-06/0.08673, allocations: 0 / 311.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006236/0.08736, allocations: 137.8 kB / 312 MB, free: 13.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.08749, allocations: 154.2 kB / 312.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.08763, allocations: 125.7 kB / 312.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.08767, allocations: 29.7 kB / 312.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.08779, allocations: 166.5 kB / 312.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.08783, allocations: 15.73 kB / 312.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.08785, allocations: 8.156 kB / 312.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.08802, allocations: 318.8 kB / 312.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.08815, allocations: 27.92 kB / 312.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.08831, allocations: 60.27 kB / 312.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.08845, allocations: 23.98 kB / 312.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.038e-06/0.08847, allocations: 3.938 kB / 312.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003415/0.08882, allocations: 113.4 kB / 313 MB, free: 12.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.08885, allocations: 4 kB / 313 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.698e-06/0.08887, allocations: 4 kB / 313 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.0889, allocations: 3.953 kB / 313 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.08904, allocations: 20.14 kB / 313 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.69e-06/0.08906, allocations: 0 / 313 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.08917, allocations: 11.98 kB / 313 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.0892, allocations: 4 kB / 313 MB, free: 11.98 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 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * 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.0001246/0.08933, allocations: 117.8 kB / 313.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.08948, allocations: 4 kB / 313.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.08953, allocations: 19.53 kB / 313.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.051e-06/0.08955, allocations: 3.953 kB / 313.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.202e-06/0.08957, allocations: 4.125 kB / 313.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.595e-06/0.08958, allocations: 3.984 kB / 313.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.09013, allocations: 185.5 kB / 313.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.017e-06/0.09015, allocations: 0 / 313.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.09026, allocations: 16 kB / 313.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.395e-06/0.09028, allocations: 0 / 313.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.0903, allocations: 7.984 kB / 313.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.09032, allocations: 0 / 313.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/0.09034, allocations: 15.89 kB / 313.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.09087, allocations: 492.6 kB / 313.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.09096, allocations: 88.95 kB / 314 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.09099, allocations: 0 / 314 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.09131, allocations: 11.98 kB / 314 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.09139, allocations: 15.94 kB / 314 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.09141, allocations: 11.94 kB / 314 MB, free: 10.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.384e-05/0.0915, allocations: 87.28 kB / 314.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.121e-06/0.09151, allocations: 0 / 314.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005319/0.09205, allocations: 11.94 kB / 314.1 MB, free: 10.8 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 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * 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.0001421/0.09221, allocations: 99.23 kB / 314.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.09253, allocations: 71.91 kB / 314.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.894e-06/0.09255, allocations: 0 / 314.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.0927, allocations: 39.91 kB / 314.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.09309, allocations: 8.562 kB / 314.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.09368, allocations: 265.5 kB / 314.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.09411, allocations: 0.6965 MB / 315.3 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.09417, allocations: 11.44 kB / 315.3 MB, free: 9.547 MB / 266.7 MB Notification: Performance of SimCode: time 1.589e-06/0.09418, allocations: 0 / 315.3 MB, free: 9.547 MB / 266.7 MB Notification: Performance of Templates: time 0.002593/0.09679, allocations: 0.8484 MB / 316.1 MB, free: 8.699 MB / 266.7 MB