Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.RealNetwork1,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_RealNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.032e-05/4.035e-05, allocations: 4 kB / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2726, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.4071, allocations: 67.24 MB / 331.1 MB, free: 6.477 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.4075, allocations: 63.97 kB / 331.2 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01336/0.4209, allocations: 2.614 MB / 333.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.109e-06/0.4209, allocations: 3.984 kB / 333.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.421, allocations: 4 kB / 333.8 MB, free: 3.781 MB / 282.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.001075/0.422, allocations: 479.5 kB / 334.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.4221, allocations: 12.02 kB / 334.3 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.396e-05/0.4222, allocations: 46.55 kB / 334.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.67e-05/0.4223, allocations: 27.7 kB / 334.3 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.4228, allocations: 230.4 kB / 334.6 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.4228, allocations: 16.28 kB / 334.6 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.4229, allocations: 19.95 kB / 334.6 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.4234, allocations: 178.7 kB / 334.8 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.4234, allocations: 3.984 kB / 334.8 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.4234, allocations: 4 kB / 334.8 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.4235, allocations: 8 kB / 334.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.4238, allocations: 111.9 kB / 334.9 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.4257, allocations: 0.7936 MB / 335.7 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.4262, allocations: 145.1 kB / 335.8 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.4264, allocations: 57.83 kB / 335.9 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.4266, allocations: 4 kB / 335.9 MB, free: 1.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.4269, allocations: 137 kB / 336 MB, free: 1.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 3.016e-06/0.4269, allocations: 0 / 336 MB, free: 1.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005619/0.4275, allocations: 173.4 kB / 336.2 MB, free: 1.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.4276, allocations: 77.11 kB / 336.3 MB, free: 1.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.4279, allocations: 186.1 kB / 336.4 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.4279, allocations: 29.7 kB / 336.5 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.4281, allocations: 140.1 kB / 336.6 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.607e-05/0.4282, allocations: 43.44 kB / 336.7 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.4282, allocations: 8 kB / 336.7 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4284, allocations: 334.8 kB / 337 MB, free: 300 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.4286, allocations: 51.98 kB / 337 MB, free: 248 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.4288, allocations: 110.8 kB / 337.2 MB, free: 112 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.429, allocations: 75.83 kB / 337.2 MB, free: 36 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.429, allocations: 0 / 337.2 MB, free: 36 kB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000593/0.4296, allocations: 201.4 kB / 337.4 MB, free: 15.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.4297, allocations: 8 kB / 337.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.4297, allocations: 0 / 337.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.4297, allocations: 8.188 kB / 337.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.4301, allocations: 35.92 kB / 337.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.4301, allocations: 7.984 kB / 337.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.4304, allocations: 35.83 kB / 337.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.4305, allocations: 11.98 kB / 337.5 MB, free: 15.72 MB / 298.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.0001532/0.4307, allocations: 133.5 kB / 337.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.4308, allocations: 19.81 kB / 337.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006208/0.4314, allocations: 190.8 kB / 337.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.4314, allocations: 4 kB / 337.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.4314, allocations: 112 / 337.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.4315, allocations: 7.922 kB / 337.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.4319, allocations: 265.5 kB / 338.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4319, allocations: 0 / 338.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.4322, allocations: 31.92 kB / 338.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.4322, allocations: 0 / 338.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.4323, allocations: 11.98 kB / 338.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4323, allocations: 0 / 338.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4323, allocations: 0 / 338.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.4329, allocations: 218.1 kB / 338.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.4331, allocations: 104.8 kB / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.4331, allocations: 7.984 kB / 338.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.4334, allocations: 23.98 kB / 338.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.4335, allocations: 15.97 kB / 338.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.4336, allocations: 4.094 kB / 338.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.4338, allocations: 156.5 kB / 338.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.4338, allocations: 0 / 338.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004116/0.4342, allocations: 36 kB / 338.7 MB, free: 14.42 MB / 298.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.001049/0.4353, allocations: 0.8279 MB / 339.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004999/0.4359, allocations: 144.2 kB / 339.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4359, allocations: 0 / 339.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.4361, allocations: 71.91 kB / 339.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.4367, allocations: 31.97 kB / 339.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.4378, allocations: 316.7 kB / 340.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.4383, allocations: 0.7438 MB / 340.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.4386, allocations: 37.52 kB / 340.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.4388, allocations: 63.41 kB / 341 MB, free: 12.09 MB / 298.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4388, allocations: 0 / 341 MB, free: 12.09 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.4689, allocations: 3.61 MB / 344.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003541/0.4693, allocations: 149.2 kB / 344.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.091, allocations: 3.984 kB / 344.7 MB, free: 8.305 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.RealNetwork1_res.mat does not exist to compare? outputFormat=mat