Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.131/2.131, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.519e-05, allocations: 4 kB / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 50.42 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4979/0.6217, allocations: 81.32 MB / 424.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.622, allocations: 81.33 kB / 424.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02742/0.6494, allocations: 5.922 MB / 430.5 MB, free: 7.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6495, allocations: 0 / 430.5 MB, free: 7.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.13e-05/0.6495, allocations: 4 kB / 430.5 MB, free: 7.574 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.0007325/0.6503, allocations: 481.4 kB / 431 MB, free: 7.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.6504, allocations: 12.03 kB / 431 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.6504, allocations: 33.94 kB / 431 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.6505, allocations: 23.81 kB / 431 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.6511, allocations: 262.5 kB / 431.3 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.6511, allocations: 7.188 kB / 431.3 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.6512, allocations: 4 kB / 431.3 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/0.6516, allocations: 143.9 kB / 431.4 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.6516, allocations: 7.938 kB / 431.4 MB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.6516, allocations: 3.953 kB / 431.4 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.6516, allocations: 0 / 431.4 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.6518, allocations: 37.86 kB / 431.5 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.6525, allocations: 356.5 kB / 431.8 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.6528, allocations: 103.3 kB / 431.9 MB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.6529, allocations: 45.91 kB / 432 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.6529, allocations: 8 kB / 432 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.6531, allocations: 74.89 kB / 432.1 MB, free: 5.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.766e-06/0.6531, allocations: 0 / 432.1 MB, free: 5.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003749/0.6535, allocations: 111.6 kB / 432.2 MB, free: 5.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.6536, allocations: 128.5 kB / 432.3 MB, free: 5.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.654, allocations: 245.7 kB / 432.5 MB, free: 5.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.6541, allocations: 29.27 kB / 432.6 MB, free: 5.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/0.6542, allocations: 117.6 kB / 432.7 MB, free: 5.344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.6542, allocations: 19.48 kB / 432.7 MB, free: 5.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.6543, allocations: 3.938 kB / 432.7 MB, free: 5.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6544, allocations: 325.5 kB / 433 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.6545, allocations: 25.67 kB / 433 MB, free: 4.988 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.6546, allocations: 64.45 kB / 433.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/0.6547, allocations: 34.73 kB / 433.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6547, allocations: 0 / 433.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002898/0.655, allocations: 115.5 kB / 433.3 MB, free: 4.785 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6551, allocations: 4 kB / 433.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.6551, allocations: 4 kB / 433.3 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.6551, allocations: 0 / 433.3 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.6553, allocations: 15.94 kB / 433.3 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.6553, allocations: 3.984 kB / 433.3 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.6554, allocations: 14.94 kB / 433.3 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.6555, allocations: 4 kB / 433.3 MB, free: 4.742 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,shiftSample1.y,shiftSample1.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.0001095/0.6556, allocations: 111.9 kB / 433.4 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.6558, allocations: 68.92 kB / 433.5 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.6561, allocations: 110.9 kB / 433.6 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6561, allocations: 0 / 433.6 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6561, allocations: 0 / 433.6 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6561, allocations: 4 kB / 433.6 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.6564, allocations: 227.9 kB / 433.8 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.6565, allocations: 4 kB / 433.8 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.056e-05/0.6565, allocations: 7.938 kB / 433.8 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.6566, allocations: 4.062 kB / 433.8 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.6566, allocations: 7.953 kB / 433.8 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.6566, allocations: 3.984 kB / 433.8 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6566, allocations: 3.938 kB / 433.8 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.657, allocations: 182.8 kB / 434 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.6571, allocations: 121.8 kB / 434.1 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.6572, allocations: 0 / 434.1 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.6573, allocations: 11.31 kB / 434.2 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.6574, allocations: 11.92 kB / 434.2 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.6574, allocations: 4 kB / 434.2 MB, free: 3.848 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002998/0.6577, allocations: 191.4 kB / 434.4 MB, free: 3.691 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6577, allocations: 0 / 434.4 MB, free: 3.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003992/0.6582, allocations: 35.62 kB / 434.4 MB, free: 3.66 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,shiftSample1.y,sample1.y,shiftSample1.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.001903/0.6601, allocations: 1.159 MB / 435.5 MB, free: 2.602 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.6605, allocations: 64.36 kB / 435.6 MB, free: 2.555 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.6605, allocations: 4.188 kB / 435.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.6606, allocations: 36.59 kB / 435.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.6612, allocations: 53.78 kB / 435.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/0.6621, allocations: 298.2 kB / 436 MB, free: 2.172 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.6625, allocations: 0.736 MB / 436.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.6627, allocations: 21.33 kB / 436.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.6628, allocations: 46.73 kB / 436.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6628, allocations: 0 / 436.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.6915, allocations: 4.077 MB / 440.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.6918, allocations: 222.5 kB / 441.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/3.371, allocations: 3.938 kB / 441.1 MB, free: 13.15 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat