Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadModel(ModelicaTest): time 2.17/2.17, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.615e-05/4.639e-05, allocations: 4 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3689, allocations: 54.85 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.4941, allocations: 81.92 MB / 441.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.4944, allocations: 79.94 kB / 441.8 MB, free: 15.01 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02334/0.5178, allocations: 5.913 MB / 447.7 MB, free: 9.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.086e-06/0.5178, allocations: 0 / 447.7 MB, free: 9.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.26e-05/0.5179, allocations: 8 kB / 447.7 MB, free: 9.121 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009804/0.5188, allocations: 0.7264 MB / 448.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5189, allocations: 8.031 kB / 448.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.519, allocations: 52.84 kB / 448.5 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009807/0.52, allocations: 471.1 kB / 448.9 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.5201, allocations: 11.94 kB / 448.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.5201, allocations: 8 kB / 449 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.5203, allocations: 92.14 kB / 449 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.5204, allocations: 0 / 449 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.5204, allocations: 0 / 449 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-06/0.5204, allocations: 0 / 449 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.5205, allocations: 35.98 kB / 449.1 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.5211, allocations: 406.3 kB / 449.5 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.5214, allocations: 101.3 kB / 449.6 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.5215, allocations: 37.72 kB / 449.6 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.5215, allocations: 0 / 449.6 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.5218, allocations: 113.9 kB / 449.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.509e-06/0.5218, allocations: 0 / 449.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004736/0.5223, allocations: 181 kB / 449.9 MB, free: 6.684 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.5224, allocations: 77.11 kB / 450 MB, free: 6.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.5242, allocations: 0.9342 MB / 450.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.5242, allocations: 25.7 kB / 450.9 MB, free: 5.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.5244, allocations: 258.8 kB / 451.2 MB, free: 5.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.5245, allocations: 28.53 kB / 451.2 MB, free: 5.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.5245, allocations: 8 kB / 451.2 MB, free: 5.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5247, allocations: 314.8 kB / 451.5 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.5249, allocations: 63.94 kB / 451.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.5251, allocations: 86.47 kB / 451.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.5253, allocations: 132.8 kB / 451.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.072e-06/0.5254, allocations: 3.938 kB / 451.8 MB, free: 4.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005834/0.5259, allocations: 268.8 kB / 452.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/0.526, allocations: 65.11 kB / 452.1 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5261, allocations: 4 kB / 452.1 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.5261, allocations: 3.953 kB / 452.1 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.5263, allocations: 35.91 kB / 452.2 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.72e-06/0.5263, allocations: 1.406 kB / 452.2 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.5265, allocations: 27.81 kB / 452.2 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.5266, allocations: 11.98 kB / 452.2 MB, free: 4.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001182/0.5267, allocations: 113 kB / 452.3 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.5268, allocations: 47.44 kB / 452.4 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.5273, allocations: 197.6 kB / 452.6 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5273, allocations: 0 / 452.6 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.383e-06/0.5273, allocations: 7.953 kB / 452.6 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.066e-06/0.5274, allocations: 7.938 kB / 452.6 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.5279, allocations: 381.2 kB / 453 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5279, allocations: 4 kB / 453 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.932e-05/0.528, allocations: 15.92 kB / 453 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.093e-06/0.528, allocations: 0 / 453 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.528, allocations: 8 kB / 453 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.71e-06/0.528, allocations: 0 / 453 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.252e-06/0.5281, allocations: 384 / 453 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.5285, allocations: 231 kB / 453.2 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.5289, allocations: 196.4 kB / 453.4 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.529, allocations: 8 kB / 453.4 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.5291, allocations: 4 kB / 453.4 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.5292, allocations: 11.94 kB / 453.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.5292, allocations: 11.98 kB / 453.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.5305, allocations: 0.7279 MB / 454.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.84e-07/0.5305, allocations: 0 / 454.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005052/0.531, allocations: 119.8 kB / 454.3 MB, free: 2.094 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001952/0.533, allocations: 0.5276 MB / 454.8 MB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005207/0.5335, allocations: 290.7 kB / 455.1 MB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.793e-06/0.5335, allocations: 0 / 455.1 MB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.5337, allocations: 39.94 kB / 455.1 MB, free: 1.309 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.5341, allocations: 61.98 kB / 455.2 MB, free: 1.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.5357, allocations: 0.8129 MB / 456 MB, free: 420 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/0.5364, allocations: 0.8507 MB / 456.9 MB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.5366, allocations: 43.44 kB / 456.9 MB, free: 15.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.599e-06/0.5366, allocations: 0 / 456.9 MB, free: 15.48 MB / 394.7 MB Notification: Performance of Templates: time 0.01242/0.549, allocations: 5.881 MB / 462.8 MB, free: 9.598 MB / 394.7 MB