Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.RealNetwork1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_RealNetwork1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.581/2.581, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.968e-05, allocations: 4 kB / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3638, allocations: 44.49 MB / 294.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.5219, allocations: 71.87 MB / 366.1 MB, free: 9.965 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.5222, allocations: 67.97 kB / 366.2 MB, free: 9.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01441/0.5367, allocations: 2.584 MB / 368.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5367, allocations: 0 / 368.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.5368, allocations: 8 kB / 368.8 MB, free: 7.297 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.001142/0.5379, allocations: 471.5 kB / 369.3 MB, free: 6.789 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.538, allocations: 15.95 kB / 369.3 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.414e-05/0.5381, allocations: 23.72 kB / 369.3 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.5385, allocations: 230.8 kB / 369.5 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.5386, allocations: 4 kB / 369.5 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.5386, allocations: 8 kB / 369.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004245/0.5391, allocations: 108.5 kB / 369.6 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.5395, allocations: 158.7 kB / 369.8 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.5396, allocations: 4 kB / 369.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.5396, allocations: 0 / 369.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.5397, allocations: 4 kB / 369.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.5418, allocations: 0.759 MB / 370.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.5423, allocations: 141.1 kB / 370.7 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.5425, allocations: 53.83 kB / 370.8 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.991e-05/0.5426, allocations: 16.08 kB / 370.8 MB, free: 5.148 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003734/0.543, allocations: 125 kB / 370.9 MB, free: 5.008 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 4.638e-06/0.5431, allocations: 4 kB / 370.9 MB, free: 5.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006375/0.5437, allocations: 157.3 kB / 371 MB, free: 4.844 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.5438, allocations: 81.11 kB / 371.1 MB, free: 4.746 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.5441, allocations: 171.1 kB / 371.3 MB, free: 4.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.5442, allocations: 25.7 kB / 371.3 MB, free: 4.539 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.5444, allocations: 148.2 kB / 371.5 MB, free: 4.391 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/0.5444, allocations: 35.45 kB / 371.5 MB, free: 4.355 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.5445, allocations: 0 / 371.5 MB, free: 4.355 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5447, allocations: 334.8 kB / 371.8 MB, free: 4.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.5449, allocations: 51.98 kB / 371.9 MB, free: 3.969 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.5451, allocations: 110.7 kB / 372 MB, free: 3.836 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.5454, allocations: 67.89 kB / 372 MB, free: 3.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.5454, allocations: 0 / 372 MB, free: 3.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006027/0.546, allocations: 193.3 kB / 372.2 MB, free: 3.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5461, allocations: 4 kB / 372.2 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.5461, allocations: 4.094 kB / 372.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.5461, allocations: 7.938 kB / 372.3 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.5465, allocations: 35.92 kB / 372.3 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.5465, allocations: 4.234 kB / 372.3 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.5469, allocations: 36 kB / 372.3 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.5469, allocations: 8 kB / 372.3 MB, free: 3.477 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.0001376/0.5471, allocations: 116.7 kB / 372.4 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004813/0.5476, allocations: 165.4 kB / 372.6 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.277e-05/0.5477, allocations: 23.83 kB / 372.6 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006348/0.5483, allocations: 179.3 kB / 372.8 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.5484, allocations: 8 kB / 372.8 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5484, allocations: 0 / 372.8 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.5484, allocations: 7.953 kB / 372.8 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.5488, allocations: 234 kB / 373.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5488, allocations: 4 kB / 373.1 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.5491, allocations: 19.98 kB / 373.1 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.5491, allocations: 0 / 373.1 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.5492, allocations: 4 kB / 373.1 MB, free: 2.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.5492, allocations: 0 / 373.1 MB, free: 2.676 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.5492, allocations: 0 / 373.1 MB, free: 2.676 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.5497, allocations: 214.9 kB / 373.3 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.597e-05/0.5498, allocations: 96.86 kB / 373.4 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.5499, allocations: 0 / 373.4 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.5502, allocations: 27.97 kB / 373.4 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.5503, allocations: 11.98 kB / 373.4 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.5504, allocations: 7.984 kB / 373.4 MB, free: 2.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001791/0.5505, allocations: 137.5 kB / 373.6 MB, free: 2.148 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5506, allocations: 0 / 373.6 MB, free: 2.148 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004515/0.551, allocations: 32 kB / 373.6 MB, free: 2.117 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.001001/0.552, allocations: 0.8194 MB / 374.4 MB, free: 1.262 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004793/0.5525, allocations: 139.8 kB / 374.6 MB, free: 1.125 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5526, allocations: 0 / 374.6 MB, free: 1.125 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.5528, allocations: 63.92 kB / 374.6 MB, free: 1.062 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.5533, allocations: 48.28 kB / 374.7 MB, free: 1.016 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.5545, allocations: 297.5 kB / 375 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.555, allocations: 0.736 MB / 375.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002486/0.5552, allocations: 41.77 kB / 375.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.5554, allocations: 63.41 kB / 375.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5554, allocations: 0 / 375.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05364/0.6091, allocations: 3.201 MB / 379 MB, free: 12.65 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003888/0.6095, allocations: 122.5 kB / 379.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.008/3.618, allocations: 0 / 379.1 MB, free: 12.46 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.RealNetwork1_res.mat does not exist to compare? outputFormat=mat