Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.845/1.845, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.654e-05, allocations: 4 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.399, allocations: 38.77 MB / 263.9 MB, free: 9.754 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.5454, allocations: 70.08 MB / 333.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003741/0.5459, allocations: 83.95 kB / 334 MB, free: 3.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05278/0.5987, allocations: 12.35 MB / 346.4 MB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5987, allocations: 0 / 346.4 MB, free: 6.973 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.5988, allocations: 11.94 kB / 346.4 MB, free: 6.961 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002298/0.6011, allocations: 0.6624 MB / 347 MB, free: 6.254 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.6011, allocations: 8.031 kB / 347 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.6013, allocations: 78.52 kB / 347.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.6016, allocations: 51.61 kB / 347.2 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.602, allocations: 262.5 kB / 347.4 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/0.602, allocations: 33 kB / 347.5 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.706e-05/0.6021, allocations: 40 kB / 347.5 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008953/0.6031, allocations: 336.5 kB / 347.8 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.6031, allocations: 4 kB / 347.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.6032, allocations: 16 kB / 347.8 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.6032, allocations: 8 kB / 347.9 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.6039, allocations: 254 kB / 348.1 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.6071, allocations: 1.376 MB / 349.5 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000594/0.6078, allocations: 150.8 kB / 349.6 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.6081, allocations: 120.8 kB / 349.7 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.6082, allocations: 0 / 349.7 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.6082, allocations: 34.56 kB / 349.8 MB, free: 3.352 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.6082, allocations: 3.938 kB / 349.8 MB, free: 3.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007554/0.609, allocations: 213.6 kB / 350 MB, free: 3.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.609, allocations: 51.41 kB / 350 MB, free: 3.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.6093, allocations: 154.4 kB / 350.2 MB, free: 2.906 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.6093, allocations: 25.7 kB / 350.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.6095, allocations: 270 kB / 350.5 MB, free: 2.609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.6096, allocations: 63.17 kB / 350.5 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.6096, allocations: 4 kB / 350.5 MB, free: 2.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6098, allocations: 322.8 kB / 350.9 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.6099, allocations: 55.94 kB / 350.9 MB, free: 2.164 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.6102, allocations: 112.6 kB / 351 MB, free: 2.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.6104, allocations: 73.78 kB / 351.1 MB, free: 1.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6104, allocations: 0 / 351.1 MB, free: 1.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008179/0.6112, allocations: 267.2 kB / 351.4 MB, free: 1.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.6113, allocations: 4 kB / 351.4 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.331e-05/0.6113, allocations: 4 kB / 351.4 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/0.6118, allocations: 84.73 kB / 351.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.6122, allocations: 48 kB / 351.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.6147, allocations: 1.632 MB / 353.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.615, allocations: 27.83 kB / 353.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.6151, allocations: 8 kB / 353.2 MB, free: 15.74 MB / 314.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 (19): * Single equations (assignments): 18 * 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.0001352/0.6152, allocations: 128.8 kB / 353.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.6153, allocations: 15.81 kB / 353.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007597/0.616, allocations: 220.1 kB / 353.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.6161, allocations: 0 / 353.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6161, allocations: 4 kB / 353.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6161, allocations: 0 / 353.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.6175, allocations: 0.6451 MB / 354.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6175, allocations: 0 / 354.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.6177, allocations: 23.98 kB / 354.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.6182, allocations: 84.69 kB / 354.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.6182, allocations: 8.062 kB / 354.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.6206, allocations: 1.625 MB / 355.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-06/0.6206, allocations: 4.031 kB / 355.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009142/0.6216, allocations: 405.1 kB / 356.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.6217, allocations: 96.94 kB / 356.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.6217, allocations: 7.984 kB / 356.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.622, allocations: 12 kB / 356.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.6221, allocations: 15.97 kB / 356.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.6221, allocations: 4 kB / 356.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001552/0.6223, allocations: 133 kB / 356.6 MB, free: 12.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6223, allocations: 0 / 356.6 MB, free: 12.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006197/0.6229, allocations: 103.5 kB / 356.7 MB, free: 11.96 MB / 314.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 (9): * Single equations (assignments): 8 * 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.001407/0.6243, allocations: 1.106 MB / 357.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008122/0.6252, allocations: 285.5 kB / 358.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6252, allocations: 0 / 358.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005012/0.6257, allocations: 214.2 kB / 358.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.626, allocations: 16 kB / 358.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.6275, allocations: 492.8 kB / 358.8 MB, free: 9.766 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.628, allocations: 0.7675 MB / 359.5 MB, free: 8.969 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.6282, allocations: 87.41 kB / 359.6 MB, free: 8.883 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6282, allocations: 0 / 359.6 MB, free: 8.883 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.777/3.405, allocations: 5.375 MB / 365 MB, free: 3.5 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat