Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.374e-05, allocations: 4 kB / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 50.41 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5156/0.6244, allocations: 82.98 MB / 425.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.6247, allocations: 78.38 kB / 425.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0595/0.6842, allocations: 15.55 MB / 441.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6843, allocations: 0 / 441.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.6843, allocations: 8 kB / 441.3 MB, free: 13.95 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00249/0.6868, allocations: 0.7467 MB / 442 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.6869, allocations: 8.031 kB / 442 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002767/0.6872, allocations: 98.64 kB / 442.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/0.6909, allocations: 366 kB / 442.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/0.6916, allocations: 299.1 kB / 442.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.6916, allocations: 47.06 kB / 442.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.6918, allocations: 54.31 kB / 442.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.6931, allocations: 495.9 kB / 443.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.6932, allocations: 4 kB / 443.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/0.6933, allocations: 21.12 kB / 443.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.6933, allocations: 15.95 kB / 443.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.6948, allocations: 0.5364 MB / 443.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004862/0.6997, allocations: 1.927 MB / 445.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002887/0.7026, allocations: 2.148 MB / 448 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006606/0.7033, allocations: 240.5 kB / 448.2 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.7035, allocations: 88.92 kB / 448.3 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.7035, allocations: 42.36 kB / 448.4 MB, free: 7.602 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 3.457e-06/0.7035, allocations: 4 kB / 448.4 MB, free: 7.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001286/0.7048, allocations: 414.4 kB / 448.8 MB, free: 7.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.7049, allocations: 59.83 kB / 448.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.7052, allocations: 173.6 kB / 449 MB, free: 7.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.7052, allocations: 33.52 kB / 449 MB, free: 7.039 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.7054, allocations: 219.7 kB / 449.2 MB, free: 6.836 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.7056, allocations: 168.6 kB / 449.4 MB, free: 6.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.7056, allocations: 10.25 kB / 449.4 MB, free: 6.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7058, allocations: 336.2 kB / 449.8 MB, free: 6.359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.7062, allocations: 139 kB / 449.9 MB, free: 6.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.7066, allocations: 211.8 kB / 450.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.7071, allocations: 165.8 kB / 450.3 MB, free: 6.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.7071, allocations: 0 / 450.3 MB, free: 6.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001395/0.7085, allocations: 0.4913 MB / 450.7 MB, free: 5.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.7085, allocations: 8 kB / 450.8 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.7085, allocations: 0 / 450.8 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/0.7091, allocations: 82.72 kB / 450.8 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/0.7098, allocations: 102.3 kB / 450.9 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.7124, allocations: 1.642 MB / 452.6 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/0.713, allocations: 51.53 kB / 452.6 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/0.7131, allocations: 19.98 kB / 452.6 MB, free: 3.617 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.7133, allocations: 128.9 kB / 452.8 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.7134, allocations: 23.72 kB / 452.8 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.715, allocations: 0.508 MB / 453.3 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.7151, allocations: 8 kB / 453.3 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.7151, allocations: 0 / 453.3 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.7151, allocations: 3.984 kB / 453.3 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.7178, allocations: 1.126 MB / 454.4 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.7179, allocations: 0 / 454.4 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006795/0.7186, allocations: 79.89 kB / 454.5 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/0.7191, allocations: 84.81 kB / 454.6 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.7191, allocations: 8 kB / 454.6 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/0.7215, allocations: 1.629 MB / 456.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7215, allocations: 0 / 456.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.7235, allocations: 0.7824 MB / 457 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.7236, allocations: 112.7 kB / 457.1 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.7237, allocations: 8 kB / 457.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/0.7241, allocations: 28.05 kB / 457.2 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.7243, allocations: 32.39 kB / 457.2 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/0.7243, allocations: 19.95 kB / 457.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001807/0.7245, allocations: 131.2 kB / 457.3 MB, free: 14.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7245, allocations: 0 / 457.3 MB, free: 14.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007868/0.7253, allocations: 151.5 kB / 457.5 MB, free: 14.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002462/0.7278, allocations: 1.508 MB / 459 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.7293, allocations: 0.5165 MB / 459.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7293, allocations: 0 / 459.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008387/0.7302, allocations: 347.1 kB / 459.9 MB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.7306, allocations: 36.62 kB / 459.9 MB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.7328, allocations: 0.6589 MB / 460.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.7333, allocations: 0.8205 MB / 461.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000399/0.7337, allocations: 46.95 kB / 461.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/0.734, allocations: 131.4 kB / 461.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.734, allocations: 0 / 461.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04023/0.7743, allocations: 7.064 MB / 468.6 MB, free: 3.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003299/0.7747, allocations: 197 kB / 468.8 MB, free: 3.109 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/3.643, allocations: 7.938 kB / 468.8 MB, free: 3.102 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat