Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.664/1.664, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.943e-05/3.948e-05, allocations: 7.984 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2553, allocations: 38.76 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.4098, allocations: 68.01 MB / 331.9 MB, free: 5.602 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/0.4102, allocations: 67.97 kB / 331.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03567/0.4459, allocations: 4.721 MB / 336.7 MB, free: 0.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.446, allocations: 0 / 336.7 MB, free: 0.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.062e-05/0.446, allocations: 4 kB / 336.7 MB, free: 0.7891 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.002477/0.4485, allocations: 0.5415 MB / 337.2 MB, free: 208 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4486, allocations: 8.031 kB / 337.2 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.663e-05/0.4487, allocations: 58.48 kB / 337.3 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.508e-05/0.4488, allocations: 27.62 kB / 337.3 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.4492, allocations: 251.6 kB / 337.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.4493, allocations: 16.44 kB / 337.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.4493, allocations: 19.91 kB / 337.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.45, allocations: 271.5 kB / 337.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.45, allocations: 0 / 337.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.4501, allocations: 8 kB / 337.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4501, allocations: 4 kB / 337.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005746/0.4507, allocations: 180.8 kB / 338 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.4534, allocations: 1.269 MB / 339.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.4558, allocations: 334.4 kB / 339.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.4561, allocations: 112.8 kB / 339.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.4562, allocations: 3.984 kB / 339.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.4562, allocations: 38.56 kB / 339.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.384e-06/0.4562, allocations: 0 / 339.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.004657/0.4609, allocations: 0.5175 MB / 340.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.461, allocations: 51.41 kB / 340.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.4614, allocations: 201.1 kB / 340.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/0.4614, allocations: 29.7 kB / 340.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.4616, allocations: 160 kB / 340.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.4617, allocations: 59.28 kB / 340.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.4617, allocations: 0 / 340.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4619, allocations: 330.8 kB / 341.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.4621, allocations: 67.98 kB / 341.2 MB, free: 12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.4624, allocations: 89.31 kB / 341.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.4626, allocations: 71.97 kB / 341.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.4627, allocations: 0 / 341.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.004667/0.4673, allocations: 0.5627 MB / 341.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.4674, allocations: 7.953 kB / 341.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.4674, allocations: 4 kB / 341.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005234/0.468, allocations: 136.8 kB / 342 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.4683, allocations: 39.92 kB / 342.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008554/0.4769, allocations: 2.18 MB / 344.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/0.4775, allocations: 43.92 kB / 344.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.4775, allocations: 11.98 kB / 344.3 MB, free: 8.703 MB / 298.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.4777, allocations: 116.9 kB / 344.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.4778, allocations: 23.72 kB / 344.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.007e-05/0.4779, allocations: 21.95 kB / 344.5 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4779, allocations: 4 kB / 344.5 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4779, allocations: 0 / 344.5 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4779, allocations: 0 / 344.5 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.4785, allocations: 341.2 kB / 344.8 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4785, allocations: 0 / 344.8 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.4788, allocations: 31.98 kB / 344.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/0.4792, allocations: 136.8 kB / 345 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.4793, allocations: 11.92 kB / 345 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008333/0.4876, allocations: 2.173 MB / 347.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4877, allocations: 0 / 347.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004889/0.4926, allocations: 0.7109 MB / 347.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.4928, allocations: 120.8 kB / 348 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.4929, allocations: 0 / 348 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005435/0.4934, allocations: 51.98 kB / 348 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.4935, allocations: 7.984 kB / 348 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.4935, allocations: 4 kB / 348.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002343/0.4938, allocations: 165.4 kB / 348.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4938, allocations: 0 / 348.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000674/0.4945, allocations: 83.84 kB / 348.3 MB, free: 4.484 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005281/0.4998, allocations: 1.259 MB / 349.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.5018, allocations: 385.8 kB / 349.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5018, allocations: 0 / 349.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.5035, allocations: 297.7 kB / 350.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.504, allocations: 36.42 kB / 350.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.5056, allocations: 424.2 kB / 350.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.506, allocations: 0.7558 MB / 351.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.5062, allocations: 17.53 kB / 351.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.5063, allocations: 67.42 kB / 351.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5063, allocations: 7.938 kB / 351.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.5421, allocations: 6.558 MB / 358.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.5424, allocations: 185.8 kB / 358.3 MB, free: 10.44 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/2.952, allocations: 0 / 358.3 MB, free: 10.44 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat does not exist to compare? outputFormat=mat