Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 270 MB / 283.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.504e-05/4.512e-05, allocations: 4 kB / 348.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.132, allocations: 61.88 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5128/0.6448, allocations: 90.19 MB / 0.4888 GB, free: 13.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.6452, allocations: 72.47 kB / 0.4889 GB, free: 13.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01986/0.6651, allocations: 4.332 MB / 0.4931 GB, free: 9.414 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6651, allocations: 0 / 0.4931 GB, free: 9.414 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.6652, allocations: 8 kB / 0.4931 GB, free: 9.406 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008107/0.666, allocations: 451.8 kB / 0.4936 GB, free: 8.914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.6661, allocations: 8.031 kB / 0.4936 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.527e-05/0.6661, allocations: 46.48 kB / 0.4936 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.6662, allocations: 15.81 kB / 0.4936 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.6667, allocations: 222.8 kB / 0.4939 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.6667, allocations: 7.953 kB / 0.4939 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.6668, allocations: 15.98 kB / 0.4939 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.6671, allocations: 96.89 kB / 0.494 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6671, allocations: 0 / 0.494 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.6671, allocations: 4 kB / 0.494 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6671, allocations: 0 / 0.494 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.6673, allocations: 36.2 kB / 0.494 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000916/0.6682, allocations: 0.5243 MB / 0.4945 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.6686, allocations: 78.62 kB / 0.4946 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.6687, allocations: 40.84 kB / 0.4946 GB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.6687, allocations: 0 / 0.4946 GB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.669, allocations: 79.27 kB / 0.4947 GB, free: 7.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.669, allocations: 0 / 0.4947 GB, free: 7.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003988/0.6694, allocations: 105.4 kB / 0.4948 GB, free: 7.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.6695, allocations: 59.36 kB / 0.4949 GB, free: 7.426 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.6698, allocations: 172.7 kB / 0.495 GB, free: 7.242 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.6698, allocations: 25.7 kB / 0.4951 GB, free: 7.211 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.6699, allocations: 120 kB / 0.4952 GB, free: 7.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.67, allocations: 31.7 kB / 0.4952 GB, free: 7.059 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.67, allocations: 0 / 0.4952 GB, free: 7.059 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6702, allocations: 326.8 kB / 0.4955 GB, free: 6.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.6703, allocations: 27.98 kB / 0.4955 GB, free: 6.703 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.6704, allocations: 52.3 kB / 0.4956 GB, free: 6.637 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.6705, allocations: 31.92 kB / 0.4956 GB, free: 6.605 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6705, allocations: 0 / 0.4956 GB, free: 6.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003421/0.6709, allocations: 121.4 kB / 0.4957 GB, free: 6.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.6709, allocations: 10.94 kB / 0.4957 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.671, allocations: 0 / 0.4957 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.671, allocations: 7.938 kB / 0.4957 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.6712, allocations: 23.98 kB / 0.4958 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.6712, allocations: 0 / 0.4958 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.6714, allocations: 24.06 kB / 0.4958 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.6714, allocations: 4 kB / 0.4958 GB, free: 6.414 MB / 410.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: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001148/0.6715, allocations: 116.9 kB / 0.4959 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.6716, allocations: 23.8 kB / 0.4959 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.672, allocations: 115.1 kB / 0.496 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.672, allocations: 4 kB / 0.496 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.672, allocations: 0 / 0.496 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.672, allocations: 3.984 kB / 0.4961 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.6723, allocations: 209.6 kB / 0.4963 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6723, allocations: 4 kB / 0.4963 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.6725, allocations: 15.98 kB / 0.4963 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.6725, allocations: 4 kB / 0.4963 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.6725, allocations: 4 kB / 0.4963 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6726, allocations: 7.938 kB / 0.4963 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6726, allocations: 0 / 0.4963 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.673, allocations: 176.8 kB / 0.4965 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.6731, allocations: 92.86 kB / 0.4965 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.6731, allocations: 4 kB / 0.4965 GB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.6733, allocations: 11.98 kB / 0.4966 GB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.6733, allocations: 12.05 kB / 0.4966 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.6734, allocations: 0 / 0.4966 GB, free: 5.523 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002269/0.6736, allocations: 141.2 kB / 0.4967 GB, free: 5.387 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6736, allocations: 0 / 0.4967 GB, free: 5.387 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003587/0.674, allocations: 36.11 kB / 0.4967 GB, free: 5.352 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001844/0.6758, allocations: 1.018 MB / 0.4977 GB, free: 4.422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.6761, allocations: 63.94 kB / 0.4978 GB, free: 4.359 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/0.6762, allocations: 4.25 kB / 0.4978 GB, free: 4.355 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.6763, allocations: 39.92 kB / 0.4978 GB, free: 4.316 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.6767, allocations: 33.02 kB / 0.4979 GB, free: 4.285 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008359/0.6775, allocations: 245.7 kB / 0.4981 GB, free: 4.012 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.6779, allocations: 0.7165 MB / 0.4988 GB, free: 3.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.6781, allocations: 21.2 kB / 0.4988 GB, free: 3.246 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.6782, allocations: 39.42 kB / 0.4989 GB, free: 3.207 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6782, allocations: 0 / 0.4989 GB, free: 3.207 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.708, allocations: 3.278 MB / 0.5021 GB, free: 8 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003441/0.7084, allocations: 201.3 kB / 0.5023 GB, free: 15.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.186, allocations: 4 kB / 0.5023 GB, free: 15.77 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat