Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.862e-05/3.869e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 44.5 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4654/0.5706, allocations: 73.12 MB / 373.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.5709, allocations: 69.06 kB / 373.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02729/0.5983, allocations: 4.64 MB / 377.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5983, allocations: 0 / 377.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.5984, allocations: 5.531 kB / 377.8 MB, free: 11.81 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00158/0.6, allocations: 0.5339 MB / 378.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.6, allocations: 10.33 kB / 378.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.6002, allocations: 59.52 kB / 378.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.6003, allocations: 34.92 kB / 378.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.6008, allocations: 248.3 kB / 378.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.6008, allocations: 13.03 kB / 378.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.788e-05/0.6009, allocations: 19.72 kB / 378.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.6016, allocations: 267.4 kB / 379 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.6016, allocations: 2.734 kB / 379 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.6017, allocations: 8.562 kB / 379 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.6017, allocations: 6.406 kB / 379 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005709/0.6023, allocations: 182.1 kB / 379.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.6052, allocations: 1.252 MB / 380.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/0.6078, allocations: 337.4 kB / 380.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.6081, allocations: 102.2 kB / 380.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.6082, allocations: 3.234 kB / 380.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.6082, allocations: 35.81 kB / 380.9 MB, free: 10.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 3.567e-06/0.6082, allocations: 1.188 kB / 380.9 MB, free: 10.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.004701/0.613, allocations: 0.5218 MB / 381.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.6131, allocations: 56.66 kB / 381.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.6135, allocations: 208.4 kB / 381.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.906e-05/0.6136, allocations: 25.7 kB / 381.7 MB, free: 9.895 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.6137, allocations: 161.5 kB / 381.9 MB, free: 9.785 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.6138, allocations: 52.69 kB / 381.9 MB, free: 9.754 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.6138, allocations: 11.84 kB / 381.9 MB, free: 9.746 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.6139, allocations: 326.7 kB / 382.2 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.6141, allocations: 62.52 kB / 382.3 MB, free: 9.434 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.6144, allocations: 96.8 kB / 382.4 MB, free: 9.402 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.6146, allocations: 73.19 kB / 382.5 MB, free: 9.395 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6146, allocations: 5.25 kB / 382.5 MB, free: 9.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.004784/0.6194, allocations: 0.5554 MB / 383 MB, free: 9.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.6195, allocations: 5.312 kB / 383 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6195, allocations: 1 kB / 383 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/0.6201, allocations: 141.6 kB / 383.2 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.6205, allocations: 42.44 kB / 383.2 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008551/0.629, allocations: 2.179 MB / 385.4 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.6297, allocations: 50.94 kB / 385.4 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.6298, allocations: 7.938 kB / 385.5 MB, free: 7.918 MB / 314.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.000134/0.6299, allocations: 114.4 kB / 385.6 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/0.63, allocations: 20.94 kB / 385.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.563e-05/0.6301, allocations: 24.16 kB / 385.6 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.6301, allocations: 2.125 kB / 385.6 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6302, allocations: 0 / 385.6 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.6302, allocations: 4.922 kB / 385.6 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.6308, allocations: 331.2 kB / 385.9 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6308, allocations: 0 / 385.9 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.6311, allocations: 29.53 kB / 386 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/0.6316, allocations: 137.5 kB / 386.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.6316, allocations: 8.266 kB / 386.1 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008646/0.6403, allocations: 2.173 MB / 388.3 MB, free: 22.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6403, allocations: 0 / 388.3 MB, free: 22.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005109/0.6455, allocations: 0.7243 MB / 389 MB, free: 22.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.6457, allocations: 90.33 kB / 389.1 MB, free: 21.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.6458, allocations: 1.219 kB / 389.1 MB, free: 21.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.6463, allocations: 51.88 kB / 389.2 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.6464, allocations: 8.375 kB / 389.2 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.6465, allocations: 13.28 kB / 389.2 MB, free: 21.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002593/0.6467, allocations: 158.8 kB / 389.3 MB, free: 21.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6468, allocations: 0 / 389.3 MB, free: 21.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007734/0.6475, allocations: 84.19 kB / 389.4 MB, free: 21.82 MB / 330.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.005266/0.6528, allocations: 1.259 MB / 390.7 MB, free: 21.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.655, allocations: 391 kB / 391.1 MB, free: 21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.6551, allocations: 0 / 391.1 MB, free: 21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.6568, allocations: 307.5 kB / 391.4 MB, free: 20.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.6574, allocations: 34.44 kB / 391.4 MB, free: 20.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.6592, allocations: 415.3 kB / 391.8 MB, free: 20.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.6596, allocations: 0.746 MB / 392.5 MB, free: 19.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.6598, allocations: 19.36 kB / 392.6 MB, free: 19.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.6599, allocations: 74.98 kB / 392.6 MB, free: 19.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.66, allocations: 0 / 392.6 MB, free: 19.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03382/0.6938, allocations: 6.549 MB / 399.2 MB, free: 19.34 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.6941, allocations: 202 kB / 399.4 MB, free: 19.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/3.435, allocations: 0 / 399.4 MB, free: 19.11 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat does not exist to compare? outputFormat=mat