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.922/1.922, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.244e-05, allocations: 8 kB / 255.4 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.0944, allocations: 44.5 MB / 299.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.5108, allocations: 73.12 MB / 373.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5111, allocations: 67.22 kB / 373.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02216/0.5333, allocations: 4.636 MB / 377.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5333, allocations: 0 / 377.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.5334, allocations: 5.25 kB / 377.8 MB, free: 11.84 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.001386/0.5347, allocations: 0.541 MB / 378.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.5348, allocations: 9.562 kB / 378.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.011e-05/0.5349, allocations: 55.11 kB / 378.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.535, allocations: 39.27 kB / 378.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.5354, allocations: 250 kB / 378.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.5354, allocations: 13.78 kB / 378.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.5355, allocations: 20.03 kB / 378.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.5362, allocations: 268.7 kB / 379 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.5362, allocations: 0 / 379 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.5363, allocations: 9.688 kB / 379 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.5363, allocations: 5.375 kB / 379 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.5368, allocations: 180.7 kB / 379.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/0.5394, allocations: 1.255 MB / 380.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.5419, allocations: 334.3 kB / 380.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.5422, allocations: 102.9 kB / 380.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.5422, allocations: 8.109 kB / 380.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.5423, allocations: 36.94 kB / 380.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 3.326e-06/0.5423, allocations: 0 / 380.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.004587/0.5469, allocations: 0.5233 MB / 381.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.547, allocations: 54.72 kB / 381.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.5473, allocations: 201.7 kB / 381.7 MB, free: 9.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.5474, allocations: 32.52 kB / 381.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.5475, allocations: 213.8 kB / 381.9 MB, free: 9.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.618e-05/0.5476, allocations: 48 kB / 381.9 MB, free: 9.719 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.5476, allocations: 8.625 kB / 381.9 MB, free: 9.715 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.994e-05/0.5477, allocations: 317.4 kB / 382.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.5479, allocations: 67.36 kB / 382.3 MB, free: 9.398 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.5482, allocations: 93.5 kB / 382.4 MB, free: 9.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.5484, allocations: 75.48 kB / 382.5 MB, free: 9.355 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5484, allocations: 1.312 kB / 382.5 MB, free: 9.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.004626/0.5531, allocations: 0.5498 MB / 383 MB, free: 9.289 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.5531, allocations: 7.844 kB / 383 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.5532, allocations: 0 / 383 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005163/0.5537, allocations: 138.1 kB / 383.2 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.5541, allocations: 41.92 kB / 383.2 MB, free: 9.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008163/0.5622, allocations: 2.185 MB / 385.4 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.5629, allocations: 46.17 kB / 385.5 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.5629, allocations: 8.453 kB / 385.5 MB, free: 7.887 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.0001157/0.563, allocations: 112 kB / 385.6 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.5631, allocations: 17.53 kB / 385.6 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.221e-05/0.5632, allocations: 25.56 kB / 385.6 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.5632, allocations: 1.25 kB / 385.6 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5633, allocations: 0 / 385.6 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5633, allocations: 6.875 kB / 385.6 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.5638, allocations: 331.6 kB / 385.9 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5638, allocations: 1.281 kB / 385.9 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.5641, allocations: 30.39 kB / 386 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004212/0.5646, allocations: 140 kB / 386.1 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.5646, allocations: 10.86 kB / 386.1 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008125/0.5728, allocations: 2.18 MB / 388.3 MB, free: 22.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5728, allocations: 1.375 kB / 388.3 MB, free: 22.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004826/0.5776, allocations: 0.7137 MB / 389 MB, free: 22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.5779, allocations: 94.17 kB / 389.1 MB, free: 21.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/0.5779, allocations: 5 kB / 389.1 MB, free: 21.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.5785, allocations: 39.66 kB / 389.2 MB, free: 21.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.5786, allocations: 11.55 kB / 389.2 MB, free: 21.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.5786, allocations: 10.89 kB / 389.2 MB, free: 21.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.5788, allocations: 160.2 kB / 389.3 MB, free: 21.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5789, allocations: 1.188 kB / 389.3 MB, free: 21.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007215/0.5796, allocations: 84.41 kB / 389.4 MB, free: 21.79 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.005286/0.5849, allocations: 1.261 MB / 390.7 MB, free: 21.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.5869, allocations: 390.9 kB / 391.1 MB, free: 20.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.587, allocations: 0 / 391.1 MB, free: 20.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.5886, allocations: 306 kB / 391.4 MB, free: 20.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.5892, allocations: 31.62 kB / 391.4 MB, free: 20.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.5908, allocations: 440.2 kB / 391.8 MB, free: 20.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.5912, allocations: 0.7583 MB / 392.6 MB, free: 19.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.5914, allocations: 73.16 kB / 392.6 MB, free: 19.9 MB / 330.7 MB Notification: Performance of SimCode: time 1.113e-06/0.5914, allocations: 0 / 392.6 MB, free: 19.9 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.856/3.447, allocations: 5.074 MB / 397.7 MB, free: 19.61 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