Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.893e-05/5.899e-05, allocations: 11.23 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1493, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.533/0.6824, allocations: 89.54 MB / 499.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.6827, allocations: 71.97 kB / 500 MB, free: 14.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03739/0.7201, allocations: 8.171 MB / 0.4962 GB, free: 6.195 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.7201, allocations: 0 / 0.4962 GB, free: 6.195 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.863e-05/0.7202, allocations: 4 kB / 0.4962 GB, free: 6.191 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008979/0.7211, allocations: 0.5105 MB / 0.4967 GB, free: 5.637 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.7212, allocations: 8.031 kB / 0.4968 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.385e-05/0.7212, allocations: 38.56 kB / 0.4968 GB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.7213, allocations: 23.72 kB / 0.4968 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.722, allocations: 299.8 kB / 0.4971 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.7221, allocations: 8 kB / 0.4971 GB, free: 5.219 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.7221, allocations: 4 kB / 0.4971 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.7224, allocations: 115.3 kB / 0.4972 GB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.7225, allocations: 0 / 0.4972 GB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.7225, allocations: 11.98 kB / 0.4972 GB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.7225, allocations: 0 / 0.4972 GB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.7227, allocations: 43.97 kB / 0.4973 GB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009363/0.7236, allocations: 496.7 kB / 0.4977 GB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.7241, allocations: 117.2 kB / 0.4979 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.7243, allocations: 49.77 kB / 0.4979 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.7243, allocations: 4 kB / 0.4979 GB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.7246, allocations: 117 kB / 0.498 GB, free: 4.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.7246, allocations: 0 / 0.498 GB, free: 4.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.001476/0.7261, allocations: 436.8 kB / 0.4984 GB, free: 3.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.7262, allocations: 85.09 kB / 0.4985 GB, free: 3.637 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007898/0.727, allocations: 390.6 kB / 0.4989 GB, free: 3.246 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.7271, allocations: 33.7 kB / 0.4989 GB, free: 3.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.7273, allocations: 152.5 kB / 0.4991 GB, free: 3.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.7274, allocations: 75.08 kB / 0.4991 GB, free: 2.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.7274, allocations: 4 kB / 0.4991 GB, free: 2.977 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.7276, allocations: 342.8 kB / 0.4995 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.7278, allocations: 59.88 kB / 0.4995 GB, free: 2.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.728, allocations: 87.42 kB / 0.4996 GB, free: 2.477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.7282, allocations: 63.97 kB / 0.4997 GB, free: 2.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.7282, allocations: 0 / 0.4997 GB, free: 2.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006255/0.7288, allocations: 229 kB / 0.4999 GB, free: 2.184 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.7289, allocations: 8 kB / 0.4999 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.7289, allocations: 0 / 0.4999 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.7289, allocations: 0 / 0.4999 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.7292, allocations: 47.91 kB / 0.4999 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.7293, allocations: 0 / 0.4999 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.7295, allocations: 12 kB / 0.5 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.7295, allocations: 12.06 kB / 0.5 GB, free: 2.105 MB / 410.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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001417/0.7297, allocations: 120.9 kB / 0.5001 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.382e-05/0.7297, allocations: 35.58 kB / 0.5001 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007893/0.7305, allocations: 264.6 kB / 0.5004 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.7306, allocations: 0 / 0.5004 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7306, allocations: 0 / 0.5004 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.7306, allocations: 4 kB / 0.5004 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.7323, allocations: 0.7781 MB / 0.5011 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.7323, allocations: 96 / 0.5011 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.7326, allocations: 43.86 kB / 0.5012 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.7326, allocations: 0 / 0.5012 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.7326, allocations: 20.05 kB / 0.5012 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.7327, allocations: 0 / 0.5012 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.7327, allocations: 4 kB / 0.5012 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008196/0.7335, allocations: 486.5 kB / 0.5017 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.7337, allocations: 128.7 kB / 0.5018 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.7338, allocations: 8 kB / 0.5018 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.7341, allocations: 15.98 kB / 0.5018 GB, free: 56 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.7342, allocations: 19.98 kB / 0.5018 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.7342, allocations: 8 kB / 0.5018 GB, free: 28 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000633/0.7349, allocations: 318.1 kB / 0.5021 GB, free: 15.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7349, allocations: 0 / 0.5021 GB, free: 15.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006131/0.7355, allocations: 64 kB / 0.5022 GB, free: 15.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002687/0.7382, allocations: 1.79 MB / 0.5039 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005346/0.7388, allocations: 163.6 kB / 0.5041 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7388, allocations: 0 / 0.5041 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.7391, allocations: 75.94 kB / 0.5042 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007012/0.7398, allocations: 52.22 kB / 0.5042 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.7415, allocations: 0.549 MB / 0.5048 GB, free: 13.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.742, allocations: 0.7756 MB / 0.5055 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.7422, allocations: 46.05 kB / 0.5056 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.7425, allocations: 99.34 kB / 0.5057 GB, free: 12.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7425, allocations: 0 / 0.5057 GB, free: 12.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.7771, allocations: 6.046 MB / 0.5116 GB, free: 6.184 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003328/0.7775, allocations: 190.4 kB / 0.5117 GB, free: 5.961 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/3.295, allocations: 0 / 0.5117 GB, free: 5.961 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat