Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.RealNetwork1,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_RealNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.178/2.178, allocations: 205.8 MB / 218.9 MB, free: 9.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.185e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 47.59 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4799/0.6122, allocations: 76.79 MB / 393.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.6125, allocations: 63.34 kB / 393.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01329/0.6258, allocations: 2.632 MB / 396.5 MB, free: 8.922 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6258, allocations: 0 / 396.5 MB, free: 8.922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.6259, allocations: 4 kB / 396.5 MB, free: 8.918 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.0009968/0.6269, allocations: 484.9 kB / 397 MB, free: 8.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6269, allocations: 11.97 kB / 397 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.162e-05/0.627, allocations: 45.42 kB / 397 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.6271, allocations: 24.34 kB / 397.1 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.6275, allocations: 235.8 kB / 397.3 MB, free: 8.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.6275, allocations: 12.98 kB / 397.3 MB, free: 8.059 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.6276, allocations: 20.06 kB / 397.3 MB, free: 8.043 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/0.6281, allocations: 180 kB / 397.5 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.6281, allocations: 0 / 397.5 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.6281, allocations: 3.75 kB / 397.5 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.6282, allocations: 8 kB / 397.5 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.6285, allocations: 117.7 kB / 397.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.6302, allocations: 0.7918 MB / 398.4 MB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.6306, allocations: 145 kB / 398.6 MB, free: 6.895 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.6308, allocations: 62.05 kB / 398.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.415e-05/0.6309, allocations: 11.73 kB / 398.6 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.6312, allocations: 126 kB / 398.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.465e-06/0.6312, allocations: 0 / 398.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005001/0.6317, allocations: 175.6 kB / 398.9 MB, free: 6.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.6318, allocations: 77.11 kB / 399 MB, free: 6.477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.6321, allocations: 183.1 kB / 399.2 MB, free: 6.312 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.6321, allocations: 32.89 kB / 399.2 MB, free: 6.277 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.6322, allocations: 139 kB / 399.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.6323, allocations: 41.77 kB / 399.4 MB, free: 6.125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.6323, allocations: 3.125 kB / 399.4 MB, free: 6.125 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6325, allocations: 327.7 kB / 399.7 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.6327, allocations: 59.17 kB / 399.8 MB, free: 5.762 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.6329, allocations: 111.6 kB / 399.9 MB, free: 5.652 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.6331, allocations: 77.44 kB / 400 MB, free: 5.594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.6331, allocations: 4 kB / 400 MB, free: 5.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005109/0.6336, allocations: 203.7 kB / 400.2 MB, free: 5.422 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.6337, allocations: 8 kB / 400.2 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.6337, allocations: 0 / 400.2 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.6337, allocations: 4 kB / 400.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.6341, allocations: 44.09 kB / 400.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.6341, allocations: 0 / 400.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.6344, allocations: 36.08 kB / 400.2 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.6344, allocations: 15.02 kB / 400.3 MB, free: 5.324 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.pulseStart,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart) * 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.0001437/0.6346, allocations: 119.2 kB / 400.4 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.6346, allocations: 15.81 kB / 400.4 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005371/0.6352, allocations: 193.4 kB / 400.6 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.6352, allocations: 3.984 kB / 400.6 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6352, allocations: 4 kB / 400.6 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.6352, allocations: 8.094 kB / 400.6 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.6356, allocations: 274.7 kB / 400.9 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6357, allocations: 0 / 400.9 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.6359, allocations: 27.92 kB / 400.9 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.6359, allocations: 3.984 kB / 400.9 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.6359, allocations: 4 kB / 400.9 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.6359, allocations: 4 kB / 400.9 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.636, allocations: 0 / 400.9 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.6364, allocations: 208.4 kB / 401.1 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.6365, allocations: 89.48 kB / 401.2 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.6366, allocations: 9.609 kB / 401.2 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.6368, allocations: 25.73 kB / 401.2 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.6369, allocations: 14.94 kB / 401.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.6369, allocations: 9.125 kB / 401.3 MB, free: 4.348 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001804/0.6371, allocations: 147.1 kB / 401.4 MB, free: 4.223 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.424e-06/0.6372, allocations: 0 / 401.4 MB, free: 4.223 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.6375, allocations: 43.3 kB / 401.4 MB, free: 4.184 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.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulseStart) * 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.0008418/0.6384, allocations: 0.8229 MB / 402.3 MB, free: 3.363 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004488/0.6389, allocations: 140.8 kB / 402.4 MB, free: 3.262 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6389, allocations: 384 / 402.4 MB, free: 3.262 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.6391, allocations: 77.97 kB / 402.5 MB, free: 3.203 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.6396, allocations: 43.09 kB / 402.5 MB, free: 3.168 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009964/0.6406, allocations: 312.4 kB / 402.8 MB, free: 2.863 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.641, allocations: 0.7437 MB / 403.6 MB, free: 2.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.6412, allocations: 37.52 kB / 403.6 MB, free: 2.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.6413, allocations: 61.16 kB / 403.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6414, allocations: 0 / 403.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.6647, allocations: 3.607 MB / 407.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.665, allocations: 142.4 kB / 407.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.193, allocations: 4 kB / 407.4 MB, free: 14.26 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1_res.mat does not exist to compare? outputFormat=mat