Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.184/2.184, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.484e-05, allocations: 4 kB / 292.7 MB, free: 8.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 50.41 MB / 343.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4584/0.5778, allocations: 79.04 MB / 422.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.5782, allocations: 66.72 kB / 422.3 MB, free: 15.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02366/0.6018, allocations: 4.77 MB / 427 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6019, allocations: 0 / 427 MB, free: 10.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.817e-05/0.602, allocations: 7.984 kB / 427 MB, free: 10.98 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001646/0.6036, allocations: 0.5294 MB / 427.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.6037, allocations: 15.97 kB / 427.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.6038, allocations: 52.05 kB / 427.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.6039, allocations: 35.61 kB / 427.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.6044, allocations: 247.9 kB / 427.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.6044, allocations: 11.69 kB / 427.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.6045, allocations: 22.83 kB / 428 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.6051, allocations: 249 kB / 428.2 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.6052, allocations: 4 kB / 428.2 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.6052, allocations: 11.56 kB / 428.2 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.6052, allocations: 4 kB / 428.2 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/0.6058, allocations: 175.8 kB / 428.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.6087, allocations: 1.078 MB / 429.5 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.6111, allocations: 335.9 kB / 429.8 MB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.6115, allocations: 103.1 kB / 429.9 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.6115, allocations: 4 kB / 429.9 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.6116, allocations: 37.89 kB / 429.9 MB, free: 8.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.917e-06/0.6116, allocations: 0 / 429.9 MB, free: 8.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.004662/0.6163, allocations: 0.5184 MB / 430.5 MB, free: 7.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.6164, allocations: 55.41 kB / 430.5 MB, free: 7.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.6167, allocations: 190.9 kB / 430.7 MB, free: 7.648 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/0.6168, allocations: 28.95 kB / 430.7 MB, free: 7.617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.6169, allocations: 157.5 kB / 430.9 MB, free: 7.484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/0.617, allocations: 48.28 kB / 430.9 MB, free: 7.445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.6171, allocations: 4 kB / 430.9 MB, free: 7.441 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6172, allocations: 331.8 kB / 431.3 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.6174, allocations: 62.81 kB / 431.3 MB, free: 7.082 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.6177, allocations: 76.33 kB / 431.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.6179, allocations: 66.03 kB / 431.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.6179, allocations: 0 / 431.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.004602/0.6225, allocations: 0.5463 MB / 432 MB, free: 6.496 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.6226, allocations: 11.94 kB / 432 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.6226, allocations: 4 kB / 432 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005474/0.6232, allocations: 139.3 kB / 432.1 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.6236, allocations: 35.73 kB / 432.2 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00867/0.6322, allocations: 2.182 MB / 434.4 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.6328, allocations: 47.06 kB / 434.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.6329, allocations: 11.5 kB / 434.4 MB, free: 4.195 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0001371/0.633, allocations: 111.7 kB / 434.5 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.6331, allocations: 15.81 kB / 434.5 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.888e-05/0.6332, allocations: 24.41 kB / 434.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.6332, allocations: 4 kB / 434.6 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6332, allocations: 3.953 kB / 434.6 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6333, allocations: 3.984 kB / 434.6 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005523/0.6338, allocations: 320 kB / 434.9 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6338, allocations: 0 / 434.9 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.6342, allocations: 39.34 kB / 434.9 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004285/0.6346, allocations: 135.5 kB / 435.1 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.6346, allocations: 3.625 kB / 435.1 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008452/0.6431, allocations: 2.188 MB / 437.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6432, allocations: 0 / 437.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004898/0.6481, allocations: 0.7061 MB / 438 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.6483, allocations: 103.7 kB / 438.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.6483, allocations: 4 kB / 438.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/0.6489, allocations: 35.41 kB / 438.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.649, allocations: 11.98 kB / 438.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.649, allocations: 7.109 kB / 438.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002357/0.6493, allocations: 166.4 kB / 438.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6493, allocations: 0 / 438.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006864/0.65, allocations: 82.59 kB / 438.4 MB, free: 496 kB / 346.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.005453/0.6555, allocations: 1.262 MB / 439.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.6576, allocations: 370.1 kB / 440 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.6577, allocations: 0 / 440 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.6595, allocations: 308.5 kB / 440.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.66, allocations: 31.47 kB / 440.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.6617, allocations: 421.4 kB / 440.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.6623, allocations: 0.7558 MB / 441.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.6624, allocations: 5.562 kB / 441.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.6626, allocations: 66.72 kB / 441.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6626, allocations: 0 / 441.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.6974, allocations: 6.482 MB / 448 MB, free: 7.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.6977, allocations: 187.1 kB / 448.2 MB, free: 6.867 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.411, allocations: 4 kB / 448.2 MB, free: 6.863 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat does not exist to compare? outputFormat=mat