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 2.049/2.049, allocations: 194.9 MB / 208 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.404e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 44.5 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4107/0.5231, allocations: 73.12 MB / 373.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.5234, allocations: 71.5 kB / 373.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02252/0.546, allocations: 4.628 MB / 377.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.546, allocations: 4 kB / 377.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.546, allocations: 4.75 kB / 377.8 MB, free: 12.2 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.001379/0.5474, allocations: 0.5356 MB / 378.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.5475, allocations: 8.812 kB / 378.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.848e-05/0.5476, allocations: 55.44 kB / 378.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.5477, allocations: 34.42 kB / 378.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.5481, allocations: 252.8 kB / 378.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.5481, allocations: 16 kB / 378.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.5482, allocations: 19.16 kB / 378.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/0.5488, allocations: 265.8 kB / 378.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.5488, allocations: 3.938 kB / 379 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.5489, allocations: 12.94 kB / 379 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.5489, allocations: 5.406 kB / 379 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000568/0.5495, allocations: 188.3 kB / 379.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.5521, allocations: 1.253 MB / 380.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.5544, allocations: 335.7 kB / 380.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.5547, allocations: 104 kB / 380.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.5548, allocations: 9.031 kB / 380.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.5548, allocations: 32 kB / 380.9 MB, free: 10.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.735e-06/0.5548, allocations: 1.312 kB / 380.9 MB, free: 10.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.00448/0.5593, allocations: 0.5211 MB / 381.4 MB, free: 10.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.5593, allocations: 54.86 kB / 381.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.5596, allocations: 202.3 kB / 381.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.5597, allocations: 34.55 kB / 381.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.5598, allocations: 161.2 kB / 381.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.5599, allocations: 45.27 kB / 381.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.5599, allocations: 9.031 kB / 381.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.56, allocations: 329.2 kB / 382.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.5602, allocations: 63.14 kB / 382.3 MB, free: 9.828 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.5604, allocations: 100.6 kB / 382.4 MB, free: 9.793 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.5607, allocations: 71.53 kB / 382.4 MB, free: 9.785 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5607, allocations: 1.281 kB / 382.4 MB, free: 9.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.004377/0.5651, allocations: 0.56 MB / 383 MB, free: 9.715 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5651, allocations: 5.75 kB / 383 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5651, allocations: 4 kB / 383 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/0.5657, allocations: 141.2 kB / 383.2 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/0.5662, allocations: 40.19 kB / 383.2 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008372/0.5746, allocations: 2.181 MB / 385.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.5752, allocations: 45.52 kB / 385.4 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.5753, allocations: 10.88 kB / 385.4 MB, free: 8.312 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.0001193/0.5754, allocations: 110.4 kB / 385.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.647e-05/0.5755, allocations: 20.81 kB / 385.6 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.351e-05/0.5756, allocations: 22.89 kB / 385.6 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.5756, allocations: 9.219 kB / 385.6 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5756, allocations: 1.469 kB / 385.6 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5756, allocations: 6.719 kB / 385.6 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.5762, allocations: 326.3 kB / 385.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5762, allocations: 0 / 385.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.5765, allocations: 30.62 kB / 385.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/0.5769, allocations: 136.9 kB / 386.1 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.577, allocations: 6.375 kB / 386.1 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007815/0.5848, allocations: 2.188 MB / 388.3 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5849, allocations: 0 / 388.3 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004744/0.5896, allocations: 0.7111 MB / 389 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.5899, allocations: 98.17 kB / 389.1 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.5899, allocations: 5.094 kB / 389.1 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.5905, allocations: 40.44 kB / 389.1 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.5905, allocations: 6.969 kB / 389.1 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.5906, allocations: 10.72 kB / 389.1 MB, free: 6.312 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004459/0.591, allocations: 161.9 kB / 389.3 MB, free: 22.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5911, allocations: 0 / 389.3 MB, free: 22.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006683/0.5917, allocations: 85.06 kB / 389.4 MB, free: 22.21 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.006992/0.5987, allocations: 1.268 MB / 390.7 MB, free: 21.51 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003125/0.6019, allocations: 395.1 kB / 391 MB, free: 21.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.602, allocations: 0 / 391 MB, free: 21.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002383/0.6044, allocations: 305.4 kB / 391.3 MB, free: 21.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/0.6052, allocations: 31.59 kB / 391.4 MB, free: 21.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.6074, allocations: 424.2 kB / 391.8 MB, free: 21.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.6079, allocations: 0.751 MB / 392.5 MB, free: 20.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.6082, allocations: 14.38 kB / 392.5 MB, free: 20.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.6084, allocations: 69.98 kB / 392.6 MB, free: 20.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6084, allocations: 0 / 392.6 MB, free: 20.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.645, allocations: 6.596 MB / 399.2 MB, free: 19.7 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/0.6453, allocations: 191.4 kB / 399.4 MB, free: 19.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/3.44, allocations: 7.938 kB / 399.4 MB, free: 19.47 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