Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.21/2.21, allocations: 225.8 MB / 239.3 MB, free: 1.25 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.102e-05, allocations: 4 kB / 292.7 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 50.41 MB / 343.1 MB, free: 8.977 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4432/0.5533, allocations: 80.61 MB / 423.8 MB, free: 7.977 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.5536, allocations: 69.64 kB / 423.8 MB, free: 7.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02387/0.5775, allocations: 5.819 MB / 429.6 MB, free: 6.727 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5776, allocations: 0 / 429.6 MB, free: 6.727 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.514e-05/0.5776, allocations: 3.812 kB / 429.6 MB, free: 6.727 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007545/0.5784, allocations: 0.4928 MB / 430.1 MB, free: 6.254 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.5784, allocations: 11.22 kB / 430.1 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.5785, allocations: 34.5 kB / 430.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.328e-05/0.5786, allocations: 23.08 kB / 430.2 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.5791, allocations: 252.8 kB / 430.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.5791, allocations: 17.86 kB / 430.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.5791, allocations: 6.531 kB / 430.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.5794, allocations: 101.2 kB / 430.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5794, allocations: 3.984 kB / 430.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.5794, allocations: 7.062 kB / 430.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.5795, allocations: 3.953 kB / 430.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.5796, allocations: 59.97 kB / 430.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/0.5804, allocations: 0.604 MB / 431.2 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.5807, allocations: 121.1 kB / 431.4 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.5808, allocations: 44.83 kB / 431.4 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.5809, allocations: 7.828 kB / 431.4 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.5811, allocations: 119.9 kB / 431.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.036e-06/0.5811, allocations: 0 / 431.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004299/0.5816, allocations: 134 kB / 431.7 MB, free: 5.035 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.5817, allocations: 136.3 kB / 431.8 MB, free: 4.875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.5821, allocations: 251.8 kB / 432 MB, free: 4.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.5821, allocations: 37.23 kB / 432.1 MB, free: 4.727 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.5822, allocations: 124.9 kB / 432.2 MB, free: 4.633 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.5823, allocations: 34.55 kB / 432.2 MB, free: 4.609 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.5823, allocations: 3.844 kB / 432.2 MB, free: 4.609 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.5824, allocations: 333.7 kB / 432.6 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/0.5825, allocations: 25.88 kB / 432.6 MB, free: 4.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.5826, allocations: 79.19 kB / 432.7 MB, free: 4.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.166e-05/0.5827, allocations: 30.39 kB / 432.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.5827, allocations: 0 / 432.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003043/0.583, allocations: 136 kB / 432.8 MB, free: 4.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5831, allocations: 11.86 kB / 432.8 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5831, allocations: 3.844 kB / 432.8 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.5831, allocations: 4.094 kB / 432.9 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.5833, allocations: 11.09 kB / 432.9 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.5833, allocations: 11.77 kB / 432.9 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.5835, allocations: 14.69 kB / 432.9 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.5836, allocations: 7.734 kB / 432.9 MB, free: 4.141 MB / 330.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: 13 ($whenCondition2,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,$PRE.pulse.pulseStart,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.83e-05/0.5837, allocations: 119.6 kB / 433 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.5837, allocations: 19.25 kB / 433 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.5841, allocations: 122.3 kB / 433.2 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.5841, allocations: 3.875 kB / 433.2 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5841, allocations: 0 / 433.2 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.5842, allocations: 0 / 433.2 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.5845, allocations: 250.7 kB / 433.4 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5845, allocations: 0 / 433.4 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.5846, allocations: 10.59 kB / 433.4 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.5846, allocations: 0 / 433.4 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.5846, allocations: 3.875 kB / 433.4 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.5846, allocations: 3.953 kB / 433.4 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5846, allocations: 7.984 kB / 433.4 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.585, allocations: 200.5 kB / 433.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-05/0.5851, allocations: 107 kB / 433.7 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.5852, allocations: 3.688 kB / 433.7 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.5854, allocations: 19.67 kB / 433.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.5855, allocations: 18.97 kB / 433.8 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.5855, allocations: 7.906 kB / 433.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004428/0.5859, allocations: 208.5 kB / 434 MB, free: 19.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.586, allocations: 0 / 434 MB, free: 19.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004306/0.5864, allocations: 38.53 kB / 434 MB, free: 19.36 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: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001834/0.5883, allocations: 1.189 MB / 435.2 MB, free: 18.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.5886, allocations: 86.55 kB / 435.3 MB, free: 18.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5887, allocations: 0 / 435.3 MB, free: 18.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.5888, allocations: 50.25 kB / 435.3 MB, free: 18.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.5894, allocations: 55.61 kB / 435.4 MB, free: 18.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000985/0.5904, allocations: 332.2 kB / 435.7 MB, free: 18.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.5907, allocations: 0.7419 MB / 436.5 MB, free: 17.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.5909, allocations: 28.11 kB / 436.5 MB, free: 17.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.5911, allocations: 54.55 kB / 436.5 MB, free: 17.43 MB / 346.7 MB Notification: Performance of SimCode: time 1.583e-06/0.5911, allocations: 0 / 436.5 MB, free: 17.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.6193, allocations: 4.561 MB / 441.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/0.6197, allocations: 191.1 kB / 441.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.306, allocations: 3.938 kB / 441.3 MB, free: 14.97 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.mat does not exist to compare? outputFormat=mat