Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.854e-05, allocations: 8 kB / 299.6 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3779, allocations: 54.86 MB / 354.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.535, allocations: 81.37 MB / 435.8 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.5353, allocations: 71.97 kB / 435.9 MB, free: 0.7383 MB / 362.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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$t_new.getTableValue. [/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.0223/0.5576, allocations: 4.763 MB / 440.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5577, allocations: 0 / 440.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.5577, allocations: 0 / 440.7 MB, free: 11.97 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006343/0.5583, allocations: 477.4 kB / 441.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.5584, allocations: 12.03 kB / 441.1 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.5585, allocations: 11.81 kB / 441.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.5589, allocations: 222.8 kB / 441.4 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.5589, allocations: 0 / 441.4 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.559, allocations: 4 kB / 441.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001086/0.5591, allocations: 27.98 kB / 441.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.5592, allocations: 49.62 kB / 441.4 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5593, allocations: 3.953 kB / 441.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.5593, allocations: 0 / 441.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5593, allocations: 0 / 441.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.5598, allocations: 309.4 kB / 441.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.56, allocations: 54.62 kB / 441.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.5601, allocations: 16.98 kB / 441.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.5601, allocations: 0 / 441.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.5603, allocations: 75.28 kB / 441.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.118e-06/0.5603, allocations: 7.984 kB / 441.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006342/0.561, allocations: 157.1 kB / 442.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.561, allocations: 55.41 kB / 442.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.5614, allocations: 223 kB / 442.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.5615, allocations: 29.64 kB / 442.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.5616, allocations: 112 kB / 442.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.5616, allocations: 23.66 kB / 442.5 MB, free: 9.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.5616, allocations: 0 / 442.5 MB, free: 9.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5618, allocations: 338.8 kB / 442.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.5619, allocations: 28 kB / 442.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.562, allocations: 46.31 kB / 442.9 MB, free: 9.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.5622, allocations: 39.97 kB / 442.9 MB, free: 9.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5622, allocations: 4 kB / 442.9 MB, free: 9.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003734/0.5626, allocations: 133.5 kB / 443.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.5626, allocations: 35.89 kB / 443.1 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.5627, allocations: 7.953 kB / 443.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5627, allocations: 4.031 kB / 443.1 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.5629, allocations: 19.98 kB / 443.1 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.5629, allocations: 0 / 443.1 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.563, allocations: 4 kB / 443.1 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.563, allocations: 8 kB / 443.1 MB, free: 9.258 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 (11): * Single equations (assignments): 10 * 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 0.0001061/0.5632, allocations: 111.2 kB / 443.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002565/0.5634, allocations: 105.4 kB / 443.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.5635, allocations: 15.77 kB / 443.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.5638, allocations: 119.4 kB / 443.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5639, allocations: 4 kB / 443.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5639, allocations: 0 / 443.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5639, allocations: 0 / 443.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/0.5646, allocations: 399.7 kB / 443.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.5646, allocations: 0 / 443.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.986e-05/0.5647, allocations: 15.94 kB / 443.9 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.5647, allocations: 192 / 443.9 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.5647, allocations: 7.984 kB / 443.9 MB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.5647, allocations: 8.031 kB / 443.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5648, allocations: 0 / 443.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.5651, allocations: 221.9 kB / 444.1 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.5652, allocations: 104.9 kB / 444.2 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.5653, allocations: 0 / 444.2 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.5654, allocations: 8 kB / 444.2 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.5655, allocations: 7.984 kB / 444.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.5655, allocations: 4 kB / 444.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000264/0.5658, allocations: 187 kB / 444.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5658, allocations: 288 / 444.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004886/0.5663, allocations: 47.92 kB / 444.5 MB, free: 7.812 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: 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 (9): * Single equations (assignments): 7 * 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.00176/0.5681, allocations: 1.107 MB / 445.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.5685, allocations: 155.4 kB / 445.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5685, allocations: 4 kB / 445.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.109e-05/0.5686, allocations: 31.94 kB / 445.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.5689, allocations: 20.16 kB / 445.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008936/0.5699, allocations: 276.2 kB / 446.1 MB, free: 6.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.5702, allocations: 0.7353 MB / 446.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.814e-05/0.5704, allocations: 24.5 kB / 446.8 MB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.5705, allocations: 39.42 kB / 446.9 MB, free: 5.395 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5705, allocations: 0 / 446.9 MB, free: 5.395 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04711/0.6176, allocations: 3.053 MB / 449.9 MB, free: 2.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003565/0.618, allocations: 181.6 kB / 450.1 MB, free: 2.137 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.422/3.04, allocations: 0 / 450.1 MB, free: 2.137 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat