Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.RealNetwork1,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_RealNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.733e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 44.5 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4227/0.5265, allocations: 72.53 MB / 372.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.5269, allocations: 63.36 kB / 372.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.5392, allocations: 2.598 MB / 375.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5393, allocations: 0 / 375.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.905e-05/0.5393, allocations: 12.59 kB / 375.2 MB, free: 12.34 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001028/0.5404, allocations: 474.3 kB / 375.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.5404, allocations: 9.781 kB / 375.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.159e-05/0.5405, allocations: 45.97 kB / 375.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.5406, allocations: 23.14 kB / 375.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.541, allocations: 232.3 kB / 375.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.5411, allocations: 11.84 kB / 376 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.5411, allocations: 17.25 kB / 376 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.5415, allocations: 181.8 kB / 376.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5416, allocations: 1.188 kB / 376.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.5416, allocations: 5.906 kB / 376.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.5417, allocations: 5.656 kB / 376.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.542, allocations: 117.8 kB / 376.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.5437, allocations: 0.7878 MB / 377.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.5441, allocations: 145.8 kB / 377.2 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.5443, allocations: 66.88 kB / 377.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.678e-05/0.5444, allocations: 2.75 kB / 377.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.5447, allocations: 134.1 kB / 377.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.667e-06/0.5447, allocations: 7.938 kB / 377.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005366/0.5452, allocations: 168.2 kB / 377.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.5453, allocations: 84.55 kB / 377.7 MB, free: 10.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.5456, allocations: 176.3 kB / 377.8 MB, free: 10.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.5456, allocations: 31.91 kB / 377.9 MB, free: 10.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.5457, allocations: 144.9 kB / 378 MB, free: 10.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.5458, allocations: 43.08 kB / 378 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.5458, allocations: 5.094 kB / 378 MB, free: 10.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.5459, allocations: 328.4 kB / 378.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.5461, allocations: 61.78 kB / 378.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.5463, allocations: 114.4 kB / 378.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.5465, allocations: 67.61 kB / 378.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5465, allocations: 1.469 kB / 378.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005087/0.547, allocations: 205.4 kB / 378.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.5471, allocations: 5.594 kB / 378.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5471, allocations: 2.938 kB / 378.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.5471, allocations: 9.125 kB / 378.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.5475, allocations: 43.92 kB / 378.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.5475, allocations: 2.188 kB / 378.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.5478, allocations: 34.02 kB / 378.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.5479, allocations: 9.844 kB / 378.9 MB, free: 10.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001111/0.548, allocations: 122.2 kB / 379 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.548, allocations: 25.64 kB / 379.1 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000549/0.5486, allocations: 181.5 kB / 379.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.5486, allocations: 8.297 kB / 379.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5486, allocations: 3.953 kB / 379.2 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.5486, allocations: 1 kB / 379.3 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.5491, allocations: 271.1 kB / 379.5 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5491, allocations: 96 / 379.5 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.5493, allocations: 27.09 kB / 379.5 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.5493, allocations: 5.094 kB / 379.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.5494, allocations: 3.391 kB / 379.6 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.5494, allocations: 1.188 kB / 379.6 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5494, allocations: 1.031 kB / 379.6 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.5498, allocations: 217.2 kB / 379.8 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.5499, allocations: 97.73 kB / 379.9 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.55, allocations: 7.406 kB / 379.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.5502, allocations: 25.48 kB / 379.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.5503, allocations: 22.73 kB / 379.9 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.5504, allocations: 8.438 kB / 379.9 MB, free: 9.441 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.5505, allocations: 141.8 kB / 380.1 MB, free: 9.363 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5505, allocations: 1.125 kB / 380.1 MB, free: 9.363 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004022/0.551, allocations: 36.34 kB / 380.1 MB, free: 9.359 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.0007195/0.5517, allocations: 0.8341 MB / 380.9 MB, free: 8.656 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004436/0.5521, allocations: 138.6 kB / 381.1 MB, free: 8.652 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5522, allocations: 4.125 kB / 381.1 MB, free: 8.648 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.5524, allocations: 71.42 kB / 381.1 MB, free: 8.645 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.5529, allocations: 37.81 kB / 381.2 MB, free: 8.641 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000962/0.5538, allocations: 313 kB / 381.5 MB, free: 8.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.5541, allocations: 0.7487 MB / 382.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.5543, allocations: 33.77 kB / 382.3 MB, free: 7.773 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.5544, allocations: 57.11 kB / 382.3 MB, free: 7.766 MB / 314.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5545, allocations: 4 kB / 382.3 MB, free: 7.762 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0843/0.6388, allocations: 3.61 MB / 385.9 MB, free: 7.395 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.6391, allocations: 139 kB / 386.1 MB, free: 7.168 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.214, allocations: 3.984 kB / 386.1 MB, free: 7.164 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1_res.mat does not exist to compare? outputFormat=mat