Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.503/2.503, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.448e-05, allocations: 5.562 kB / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 50.41 MB / 343.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.5674, allocations: 81.35 MB / 424.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.5678, allocations: 79.08 kB / 424.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03041/0.5982, allocations: 6.501 MB / 431.1 MB, free: 7.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5983, allocations: 0 / 431.1 MB, free: 7.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.193e-05/0.5983, allocations: 4 kB / 431.1 MB, free: 7.023 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007887/0.5991, allocations: 485.7 kB / 431.6 MB, free: 6.508 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.5992, allocations: 8.031 kB / 431.6 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.747e-05/0.5993, allocations: 37.5 kB / 431.6 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.5994, allocations: 15.81 kB / 431.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.5999, allocations: 265 kB / 431.9 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.6, allocations: 7.312 kB / 431.9 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.6, allocations: 4 kB / 431.9 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.6004, allocations: 146.2 kB / 432 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.6004, allocations: 4 kB / 432 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.6005, allocations: 7.578 kB / 432.1 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.6005, allocations: 4 kB / 432.1 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.6006, allocations: 30.88 kB / 432.1 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.6013, allocations: 368 kB / 432.4 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.6016, allocations: 110.9 kB / 432.6 MB, free: 5.488 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.6017, allocations: 46.2 kB / 432.6 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.6018, allocations: 0 / 432.6 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.602, allocations: 73.7 kB / 432.7 MB, free: 5.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.535e-06/0.602, allocations: 0 / 432.7 MB, free: 5.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003995/0.6024, allocations: 117.9 kB / 432.8 MB, free: 5.266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/0.6025, allocations: 132.5 kB / 432.9 MB, free: 5.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.6029, allocations: 237.3 kB / 433.2 MB, free: 4.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.603, allocations: 33.33 kB / 433.2 MB, free: 4.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.6031, allocations: 109.4 kB / 433.3 MB, free: 4.785 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.6031, allocations: 18.86 kB / 433.3 MB, free: 4.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.6031, allocations: 7.5 kB / 433.3 MB, free: 4.766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6033, allocations: 334.6 kB / 433.6 MB, free: 4.438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.67e-05/0.6034, allocations: 14.69 kB / 433.7 MB, free: 4.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.6035, allocations: 72.06 kB / 433.7 MB, free: 4.348 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.988e-05/0.6036, allocations: 27.95 kB / 433.8 MB, free: 4.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.6036, allocations: 0 / 433.8 MB, free: 4.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002876/0.6039, allocations: 114.1 kB / 433.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.6039, allocations: 4 kB / 433.9 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6039, allocations: 0 / 433.9 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.604, allocations: 4 kB / 433.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.6041, allocations: 11.94 kB / 433.9 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.6042, allocations: 12.11 kB / 433.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.6043, allocations: 7.562 kB / 433.9 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.6043, allocations: 4 kB / 433.9 MB, free: 4.188 MB / 346.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: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001054/0.6044, allocations: 108.7 kB / 434 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.6046, allocations: 73.11 kB / 434.1 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.6049, allocations: 108 kB / 434.2 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.6049, allocations: 7.984 kB / 434.2 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.605, allocations: 4.188 kB / 434.2 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.605, allocations: 4 kB / 434.2 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.6053, allocations: 230 kB / 434.4 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.6053, allocations: 0 / 434.4 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.6054, allocations: 7.938 kB / 434.4 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.6054, allocations: 4 kB / 434.4 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.6054, allocations: 3.953 kB / 434.4 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.6054, allocations: 7.984 kB / 434.5 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6054, allocations: 0 / 434.5 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.6058, allocations: 185.8 kB / 434.6 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.6059, allocations: 119.1 kB / 434.8 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.606, allocations: 4 kB / 434.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.6061, allocations: 7.625 kB / 434.8 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.6062, allocations: 11.92 kB / 434.8 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.6062, allocations: 4 kB / 434.8 MB, free: 3.289 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000311/0.6065, allocations: 197 kB / 435 MB, free: 3.129 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6066, allocations: 0 / 435 MB, free: 3.129 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004061/0.607, allocations: 30.88 kB / 435 MB, free: 3.102 MB / 346.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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.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.001882/0.6089, allocations: 1.164 MB / 436.2 MB, free: 2.039 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000362/0.6093, allocations: 62.92 kB / 436.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6093, allocations: 0 / 436.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.6094, allocations: 33.73 kB / 436.3 MB, free: 1.969 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.61, allocations: 44.44 kB / 436.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.611, allocations: 302.9 kB / 436.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.6114, allocations: 0.732 MB / 437.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.6116, allocations: 21.2 kB / 437.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6117, allocations: 48.36 kB / 437.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6117, allocations: 4 kB / 437.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.6429, allocations: 4.039 MB / 441.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003584/0.6434, allocations: 210.5 kB / 441.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.338, allocations: 7.938 kB / 441.7 MB, free: 12.64 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat