Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.352e-05, allocations: 4 kB / 255.5 MB, free: 2.652 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09739/0.09745, allocations: 44.5 MB / 300 MB, free: 6.09 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4059/0.5034, allocations: 71.82 MB / 371.8 MB, free: 22.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5037, allocations: 64.23 kB / 371.9 MB, free: 22.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008271/0.512, allocations: 1.655 MB / 373.5 MB, free: 21.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.512, allocations: 0 / 373.5 MB, free: 21.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.5121, allocations: 1.312 kB / 373.5 MB, free: 21.79 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005716/0.5127, allocations: 424.8 kB / 373.9 MB, free: 21.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.5127, allocations: 13.5 kB / 373.9 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.5128, allocations: 41.28 kB / 374 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.5128, allocations: 9.375 kB / 374 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.513, allocations: 178.1 kB / 374.2 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.513, allocations: 3.594 kB / 374.2 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.513, allocations: 7.656 kB / 374.2 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.5133, allocations: 91.23 kB / 374.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5133, allocations: 1.781 kB / 374.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.5133, allocations: 4.812 kB / 374.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5133, allocations: 1.25 kB / 374.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.5135, allocations: 36.88 kB / 374.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.514, allocations: 381.7 kB / 374.7 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.5142, allocations: 93.83 kB / 374.8 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.5144, allocations: 48.56 kB / 374.8 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.5144, allocations: 1.828 kB / 374.8 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.5147, allocations: 144 kB / 375 MB, free: 20.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.985e-06/0.5147, allocations: 0 / 375 MB, free: 20.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.000435/0.5151, allocations: 154.5 kB / 375.1 MB, free: 20.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.5152, allocations: 163.7 kB / 375.3 MB, free: 20.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.5154, allocations: 121.5 kB / 375.4 MB, free: 20.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.5154, allocations: 28.17 kB / 375.4 MB, free: 20.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.5155, allocations: 101.5 kB / 375.5 MB, free: 19.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.5155, allocations: 29.53 kB / 375.5 MB, free: 19.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.5155, allocations: 3.938 kB / 375.5 MB, free: 19.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.5156, allocations: 325.1 kB / 375.9 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.5157, allocations: 23.69 kB / 375.9 MB, free: 19.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.785e-05/0.5158, allocations: 50.28 kB / 375.9 MB, free: 19.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.5159, allocations: 86.58 kB / 376 MB, free: 19.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.516, allocations: 0 / 376 MB, free: 19.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003355/0.5163, allocations: 177.9 kB / 376.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.5164, allocations: 61 kB / 376.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5164, allocations: 1.25 kB / 376.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.5164, allocations: 1.5 kB / 376.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.5165, allocations: 9.125 kB / 376.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.5165, allocations: 1.281 kB / 376.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.5167, allocations: 19.64 kB / 376.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.5168, allocations: 5.156 kB / 376.3 MB, free: 19.38 MB / 314.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: 14 ($whenCondition2,step.y,pulse.y,$PRE.pulse.pulsStart,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,$PRE.table.y,table.y,$PRE.table.nextTime,table.nextTime,$PRE.table.index,table.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001219/0.5169, allocations: 153 kB / 376.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.5169, allocations: 12.44 kB / 376.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.517, allocations: 11.36 kB / 376.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.517, allocations: 1.688 kB / 376.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.517, allocations: 1.281 kB / 376.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.517, allocations: 2.297 kB / 376.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.5173, allocations: 200.9 kB / 376.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5173, allocations: 5.531 kB / 376.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/0.5173, allocations: 2.453 kB / 376.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.5173, allocations: 2.125 kB / 376.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.5174, allocations: 2.844 kB / 376.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.5174, allocations: 1.938 kB / 376.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5174, allocations: 0 / 376.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.5178, allocations: 235 kB / 376.9 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.5179, allocations: 87.36 kB / 377 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.5179, allocations: 5.656 kB / 377 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.5181, allocations: 17.48 kB / 377 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/0.5182, allocations: 12.56 kB / 377 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.5182, allocations: 14.78 kB / 377 MB, free: 18.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.079e-05/0.5183, allocations: 100.2 kB / 377.1 MB, free: 18.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5183, allocations: 0 / 377.1 MB, free: 18.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003915/0.5187, allocations: 34.77 kB / 377.2 MB, free: 18.68 MB / 314.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,step.y,pulse.y,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,table.y,table.nextTime,table.index) * Number of discrete states: 4 (table.y,table.nextTime,table.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0007835/0.5195, allocations: 0.9259 MB / 378.1 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.52, allocations: 189.7 kB / 378.3 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.52, allocations: 0 / 378.3 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.5202, allocations: 115.6 kB / 378.4 MB, free: 17.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.5205, allocations: 22.36 kB / 378.4 MB, free: 17.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006737/0.5212, allocations: 191.7 kB / 378.6 MB, free: 17.53 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.5214, allocations: 0.697 MB / 379.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.524e-05/0.5214, allocations: 9.609 kB / 379.3 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.5215, allocations: 24.25 kB / 379.3 MB, free: 16.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.372e-05/0.5215, allocations: 0 / 379.3 MB, free: 16.82 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.5503, allocations: 2.268 MB / 381.6 MB, free: 16.52 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002893/0.5507, allocations: 141.4 kB / 381.7 MB, free: 16.3 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/3.141, allocations: 0 / 381.7 MB, free: 16.3 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources_res.mat does not exist to compare? outputFormat=mat