Running command: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.565/2.565, allocations: 270.1 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.82e-05, allocations: 8 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1575, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4996/0.6572, allocations: 90.58 MB / 0.4892 GB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.6575, allocations: 71.95 kB / 0.4893 GB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02898/0.6865, allocations: 6.128 MB / 0.4953 GB, free: 7.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6865, allocations: 0 / 0.4953 GB, free: 7.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.405e-05/0.6866, allocations: 11.98 kB / 0.4953 GB, free: 7.16 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001045/0.6876, allocations: 0.5973 MB / 0.4958 GB, free: 6.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.6877, allocations: 12.03 kB / 0.4959 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.384e-05/0.6878, allocations: 38.56 kB / 0.4959 GB, free: 6.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.6879, allocations: 27.72 kB / 0.4959 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/0.6886, allocations: 285.6 kB / 0.4962 GB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.6888, allocations: 101.1 kB / 0.4963 GB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.6888, allocations: 16 kB / 0.4963 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.6892, allocations: 145.6 kB / 0.4964 GB, free: 5.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.6893, allocations: 3.938 kB / 0.4964 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.6893, allocations: 7.938 kB / 0.4965 GB, free: 5.785 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.6893, allocations: 4 kB / 0.4965 GB, free: 5.781 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.6896, allocations: 79.97 kB / 0.4965 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.6909, allocations: 0.6258 MB / 0.4971 GB, free: 5.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.6914, allocations: 172 kB / 0.4973 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.6916, allocations: 82.58 kB / 0.4974 GB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.6916, allocations: 0 / 0.4974 GB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005904/0.6922, allocations: 427.6 kB / 0.4978 GB, free: 4.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 6.212e-06/0.6922, allocations: 3.984 kB / 0.4978 GB, free: 4.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008962/0.6932, allocations: 350.5 kB / 0.4981 GB, free: 3.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.6933, allocations: 217.6 kB / 0.4983 GB, free: 3.609 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005513/0.6939, allocations: 288.9 kB / 0.4986 GB, free: 3.312 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.6939, allocations: 33.7 kB / 0.4987 GB, free: 3.273 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.6941, allocations: 128.7 kB / 0.4988 GB, free: 3.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.025e-05/0.6941, allocations: 51.34 kB / 0.4988 GB, free: 3.094 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.6942, allocations: 8 kB / 0.4988 GB, free: 3.086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6943, allocations: 342.8 kB / 0.4992 GB, free: 2.742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.6945, allocations: 48.3 kB / 0.4992 GB, free: 2.695 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.6948, allocations: 138.4 kB / 0.4993 GB, free: 2.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.695, allocations: 145 kB / 0.4995 GB, free: 2.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.695, allocations: 0 / 0.4995 GB, free: 2.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000692/0.6957, allocations: 330.2 kB / 0.4998 GB, free: 2.016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.6959, allocations: 97.03 kB / 0.4999 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6959, allocations: 4 kB / 0.4999 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.6959, allocations: 4 kB / 0.4999 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.6961, allocations: 23.92 kB / 0.4999 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.6962, allocations: 4 kB / 0.4999 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.6964, allocations: 28.2 kB / 0.4999 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.6965, allocations: 12 kB / 0.5 GB, free: 1.828 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition5,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0002456/0.6967, allocations: 241 kB / 0.5002 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.67e-05/0.6968, allocations: 31.72 kB / 0.5002 GB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.6974, allocations: 197.2 kB / 0.5004 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.6974, allocations: 0 / 0.5004 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6974, allocations: 0 / 0.5004 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.6974, allocations: 8 kB / 0.5004 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.6978, allocations: 309.3 kB / 0.5007 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.6979, allocations: 0 / 0.5007 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-05/0.6979, allocations: 7.938 kB / 0.5007 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.698, allocations: 4 kB / 0.5007 GB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.698, allocations: 12 kB / 0.5007 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.698, allocations: 0 / 0.5007 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.698, allocations: 0 / 0.5007 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008865/0.6989, allocations: 462.8 kB / 0.5012 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.6991, allocations: 112.8 kB / 0.5013 GB, free: 316 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.173e-05/0.6992, allocations: 12 kB / 0.5013 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.6994, allocations: 19.98 kB / 0.5013 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.6996, allocations: 39.84 kB / 0.5013 GB, free: 244 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.6996, allocations: 8 kB / 0.5014 GB, free: 236 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003969/0.7, allocations: 229.3 kB / 0.5016 GB, free: 8 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7, allocations: 0 / 0.5016 GB, free: 8 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005415/0.7006, allocations: 72.05 kB / 0.5016 GB, free: 15.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.002418/0.703, allocations: 1.442 MB / 0.503 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007769/0.7038, allocations: 391 kB / 0.5034 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.582e-05/0.7039, allocations: 0 / 0.5034 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004859/0.7044, allocations: 338.1 kB / 0.5037 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.7049, allocations: 40.34 kB / 0.5038 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.7062, allocations: 450.3 kB / 0.5042 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.7067, allocations: 0.76 MB / 0.505 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.7068, allocations: 29.55 kB / 0.505 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.707, allocations: 67.59 kB / 0.505 GB, free: 12.37 MB / 426.7 MB Notification: Performance of SimCode: time 3.026e-06/0.707, allocations: 0 / 0.505 GB, free: 12.37 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.7453, allocations: 5.538 MB / 0.5105 GB, free: 6.93 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/0.7457, allocations: 183 kB / 0.5106 GB, free: 6.703 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.417, allocations: 4 kB / 0.5106 GB, free: 6.699 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay_res.mat does not exist to compare? outputFormat=mat