Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.524/2.524, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.278e-05, allocations: 8 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.357, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5101, allocations: 81.17 MB / 435.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5104, allocations: 71.91 kB / 435.7 MB, free: 13.83 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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$t_new.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01996/0.5304, allocations: 4.351 MB / 440 MB, free: 9.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5304, allocations: 0 / 440 MB, free: 9.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.5304, allocations: 0 / 440 MB, free: 9.477 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005795/0.531, allocations: 466.1 kB / 440.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.5311, allocations: 12.02 kB / 440.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.5312, allocations: 15.91 kB / 440.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.5316, allocations: 195.7 kB / 440.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5316, allocations: 4 kB / 440.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.5316, allocations: 4 kB / 440.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.974e-05/0.5317, allocations: 19.98 kB / 440.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.5319, allocations: 45.62 kB / 440.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5319, allocations: 3.953 kB / 440.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.5319, allocations: 0 / 440.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.532, allocations: 11.97 kB / 440.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.5322, allocations: 186.1 kB / 441 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.5324, allocations: 50.56 kB / 441 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/0.5325, allocations: 20.94 kB / 441.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.5325, allocations: 0 / 441.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.5326, allocations: 59.41 kB / 441.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/0.5327, allocations: 4 kB / 441.1 MB, free: 8.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002718/0.5329, allocations: 85.52 kB / 441.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.533, allocations: 51.41 kB / 441.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.5333, allocations: 185.5 kB / 441.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.5333, allocations: 29.7 kB / 441.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.5334, allocations: 104.1 kB / 441.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.5335, allocations: 7.812 kB / 441.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.5335, allocations: 4 kB / 441.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5336, allocations: 326.8 kB / 441.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.595e-05/0.5337, allocations: 24 kB / 441.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.5339, allocations: 41.7 kB / 442 MB, free: 7.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.534, allocations: 31.98 kB / 442 MB, free: 7.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.534, allocations: 0 / 442 MB, free: 7.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003339/0.5343, allocations: 113.5 kB / 442.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/0.5344, allocations: 37.7 kB / 442.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5344, allocations: 0 / 442.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5344, allocations: 4.031 kB / 442.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.5346, allocations: 19.92 kB / 442.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5346, allocations: 0 / 442.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.5347, allocations: 11.84 kB / 442.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.5347, allocations: 7.953 kB / 442.2 MB, free: 7.105 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.385e-05/0.5348, allocations: 106.8 kB / 442.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001952/0.535, allocations: 85.48 kB / 442.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.5351, allocations: 7.906 kB / 442.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.5353, allocations: 95.23 kB / 442.5 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.5354, allocations: 4 kB / 442.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5354, allocations: 3.953 kB / 442.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5354, allocations: 0 / 442.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.5356, allocations: 166.2 kB / 442.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5356, allocations: 4.188 kB / 442.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/0.5357, allocations: 4 kB / 442.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.5357, allocations: 8 kB / 442.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5357, allocations: 0 / 442.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5357, allocations: 0 / 442.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5357, allocations: 3.984 kB / 442.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.536, allocations: 116.9 kB / 442.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.5361, allocations: 96.94 kB / 442.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.5361, allocations: 0 / 442.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.5362, allocations: 7.984 kB / 442.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.5363, allocations: 4 kB / 442.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.5363, allocations: 4 kB / 442.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002007/0.5365, allocations: 143.2 kB / 443 MB, free: 6.172 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5365, allocations: 4 kB / 443 MB, free: 6.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.5369, allocations: 31.92 kB / 443.1 MB, free: 6.137 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0016/0.5385, allocations: 0.8857 MB / 443.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.5388, allocations: 143.3 kB / 444.1 MB, free: 5.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5388, allocations: 4.062 kB / 444.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.769e-05/0.5389, allocations: 23.94 kB / 444.1 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.5392, allocations: 27.83 kB / 444.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.5399, allocations: 211.1 kB / 444.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.5403, allocations: 0.7119 MB / 445.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.621e-05/0.5404, allocations: 19.94 kB / 445.1 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/0.5405, allocations: 31.38 kB / 445.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5405, allocations: 0 / 445.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06182/0.6024, allocations: 2.478 MB / 447.6 MB, free: 1.605 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004298/0.6029, allocations: 180.5 kB / 447.8 MB, free: 1.406 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.51/3.113, allocations: 4 kB / 447.8 MB, free: 1.402 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat