Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.15e-05, allocations: 4 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0966/0.09666, allocations: 44.51 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4325/0.5292, allocations: 73.11 MB / 373 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.5296, allocations: 67.81 kB / 373.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02205/0.5516, allocations: 4.636 MB / 377.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5517, allocations: 0 / 377.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.5517, allocations: 5.594 kB / 377.8 MB, free: 12.22 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.001401/0.5531, allocations: 0.5291 MB / 378.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.5532, allocations: 9.5 kB / 378.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.992e-05/0.5533, allocations: 58.77 kB / 378.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.018e-05/0.5534, allocations: 34.14 kB / 378.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.5538, allocations: 261 kB / 378.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.5538, allocations: 15.69 kB / 378.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.5539, allocations: 21.03 kB / 378.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/0.5545, allocations: 261.6 kB / 378.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.5545, allocations: 5.125 kB / 378.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.5546, allocations: 9.469 kB / 378.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.5546, allocations: 9.344 kB / 379 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.5552, allocations: 185.1 kB / 379.1 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.5578, allocations: 1.254 MB / 380.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.5601, allocations: 339 kB / 380.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.5604, allocations: 103.1 kB / 380.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.5605, allocations: 5.188 kB / 380.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.5605, allocations: 36.09 kB / 380.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.244e-06/0.5605, allocations: 0 / 380.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.004538/0.5651, allocations: 0.5234 MB / 381.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.5652, allocations: 56.38 kB / 381.4 MB, free: 10.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.5655, allocations: 202.2 kB / 381.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.5656, allocations: 30.89 kB / 381.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.5657, allocations: 214.5 kB / 381.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.471e-05/0.5658, allocations: 54.73 kB / 381.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.5658, allocations: 8.062 kB / 381.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.5659, allocations: 316.2 kB / 382.2 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.5661, allocations: 62.78 kB / 382.3 MB, free: 9.773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.5664, allocations: 98.52 kB / 382.4 MB, free: 9.734 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.5666, allocations: 71.08 kB / 382.5 MB, free: 9.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5666, allocations: 1.031 kB / 382.5 MB, free: 9.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.004466/0.5711, allocations: 0.5412 MB / 383 MB, free: 9.668 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.5712, allocations: 9.406 kB / 383 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5712, allocations: 1.312 kB / 383 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/0.5717, allocations: 136.7 kB / 383.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.5721, allocations: 41.97 kB / 383.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008056/0.5802, allocations: 2.187 MB / 385.4 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/0.5808, allocations: 42.8 kB / 385.4 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.5809, allocations: 7.047 kB / 385.4 MB, free: 8.27 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.0001228/0.581, allocations: 116.5 kB / 385.5 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.5811, allocations: 21.34 kB / 385.6 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.222e-05/0.5812, allocations: 25.19 kB / 385.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5812, allocations: 1.375 kB / 385.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5812, allocations: 1.375 kB / 385.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5812, allocations: 9.219 kB / 385.6 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.5818, allocations: 326 kB / 385.9 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5818, allocations: 0 / 385.9 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.5821, allocations: 30.94 kB / 386 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.5825, allocations: 139 kB / 386.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.5826, allocations: 6.719 kB / 386.1 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007904/0.5905, allocations: 2.173 MB / 388.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5905, allocations: 2.672 kB / 388.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0049/0.5954, allocations: 0.7244 MB / 389 MB, free: 22.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.5956, allocations: 93.2 kB / 389.1 MB, free: 22.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.5957, allocations: 5.406 kB / 389.1 MB, free: 22.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/0.5962, allocations: 41.69 kB / 389.1 MB, free: 22.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.5963, allocations: 10.84 kB / 389.1 MB, free: 22.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.5963, allocations: 6.812 kB / 389.1 MB, free: 22.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002272/0.5966, allocations: 159.8 kB / 389.3 MB, free: 22.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5966, allocations: 0 / 389.3 MB, free: 22.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006679/0.5973, allocations: 84.53 kB / 389.4 MB, free: 22.17 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.005003/0.6023, allocations: 1.265 MB / 390.7 MB, free: 21.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.6043, allocations: 396.5 kB / 391 MB, free: 21.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.6043, allocations: 4.062 kB / 391 MB, free: 21.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.6059, allocations: 307.8 kB / 391.3 MB, free: 21.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.6064, allocations: 30 kB / 391.4 MB, free: 21.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.6079, allocations: 451.4 kB / 391.8 MB, free: 20.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.6083, allocations: 0.7538 MB / 392.6 MB, free: 20.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.6084, allocations: 71.06 kB / 392.6 MB, free: 20.26 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6085, allocations: 0 / 392.6 MB, free: 20.26 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.72/3.328, allocations: 5.08 MB / 397.7 MB, free: 19.97 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat does not exist to compare? outputFormat=mat