Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.156e-05, allocations: 4 kB / 255.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09875/0.09882, allocations: 44.5 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4116/0.5104, allocations: 76.93 MB / 376.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.5108, allocations: 80.23 kB / 376.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05883/0.5696, allocations: 16.03 MB / 393 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5697, allocations: 0 / 393 MB, free: 10.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.5697, allocations: 7.719 kB / 393 MB, free: 10.95 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00217/0.5719, allocations: 0.7688 MB / 393.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.572, allocations: 7.719 kB / 393.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002021/0.5722, allocations: 105.5 kB / 393.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/0.5763, allocations: 432.8 kB / 394.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.5769, allocations: 315.4 kB / 394.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.577, allocations: 47.97 kB / 394.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.5771, allocations: 54.25 kB / 394.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.5785, allocations: 0.5418 MB / 395.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.5785, allocations: 0 / 395.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.561e-05/0.5786, allocations: 23.09 kB / 395.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.5787, allocations: 15.5 kB / 395.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.5801, allocations: 0.6082 MB / 395.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.5847, allocations: 2.112 MB / 398 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.5877, allocations: 2.981 MB / 401 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/0.5883, allocations: 252.3 kB / 401.2 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.5885, allocations: 93.12 kB / 401.3 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.5885, allocations: 46.55 kB / 401.4 MB, free: 6.211 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.835e-06/0.5885, allocations: 0 / 401.4 MB, free: 6.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001211/0.5897, allocations: 419.3 kB / 401.8 MB, free: 6.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.5898, allocations: 63.61 kB / 401.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.59, allocations: 180.2 kB / 402 MB, free: 5.977 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.5901, allocations: 36.17 kB / 402 MB, free: 5.945 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.5902, allocations: 306.9 kB / 402.3 MB, free: 5.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.5904, allocations: 168.8 kB / 402.5 MB, free: 5.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.5904, allocations: 13.81 kB / 402.5 MB, free: 5.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002991/0.5907, allocations: 333.3 kB / 402.8 MB, free: 21.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.5911, allocations: 136.7 kB / 403 MB, free: 21.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.5915, allocations: 268.8 kB / 403.2 MB, free: 21.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.5919, allocations: 179.5 kB / 403.4 MB, free: 21.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.592, allocations: 0 / 403.4 MB, free: 21.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001377/0.5933, allocations: 0.5416 MB / 404 MB, free: 21.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5934, allocations: 7.594 kB / 404 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.5934, allocations: 4.125 kB / 404 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004828/0.5939, allocations: 80.69 kB / 404 MB, free: 21.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007876/0.5947, allocations: 115.1 kB / 404.2 MB, free: 21.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.597, allocations: 1.634 MB / 405.8 MB, free: 19.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/0.5976, allocations: 57.25 kB / 405.8 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.5977, allocations: 23.12 kB / 405.9 MB, free: 19.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0001793/0.5979, allocations: 142.1 kB / 406 MB, free: 19.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.5979, allocations: 26.06 kB / 406 MB, free: 19.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.5994, allocations: 0.5138 MB / 406.5 MB, free: 19.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.5994, allocations: 7.781 kB / 406.6 MB, free: 19.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5994, allocations: 4 kB / 406.6 MB, free: 19.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5994, allocations: 0 / 406.6 MB, free: 19.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.6018, allocations: 1.172 MB / 407.7 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6018, allocations: 0 / 407.7 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/0.6024, allocations: 85.5 kB / 407.8 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.6029, allocations: 76.47 kB / 407.9 MB, free: 18.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.6029, allocations: 14.83 kB / 407.9 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.6051, allocations: 1.634 MB / 409.5 MB, free: 17.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6051, allocations: 3.953 kB / 409.5 MB, free: 17.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.6068, allocations: 0.783 MB / 410.3 MB, free: 17.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.607, allocations: 115.8 kB / 410.4 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.607, allocations: 10.78 kB / 410.4 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.6075, allocations: 26.58 kB / 410.5 MB, free: 17.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.6076, allocations: 35.78 kB / 410.5 MB, free: 17.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.6077, allocations: 15.5 kB / 410.5 MB, free: 17.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001768/0.6078, allocations: 144.7 kB / 410.7 MB, free: 17.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6079, allocations: 0 / 410.7 MB, free: 17.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007671/0.6086, allocations: 164.4 kB / 410.8 MB, free: 17.02 MB / 330.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 (46): * Single equations (assignments): 45 * 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.002389/0.611, allocations: 1.516 MB / 412.3 MB, free: 16.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.6125, allocations: 0.5572 MB / 412.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6125, allocations: 0 / 412.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008051/0.6133, allocations: 365.5 kB / 413.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.6138, allocations: 24.62 kB / 413.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.6191, allocations: 1.161 MB / 414.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.6196, allocations: 0.8224 MB / 415.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.6199, allocations: 152.4 kB / 415.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of SimCode: time 9.41e-07/0.62, allocations: 0 / 415.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.853/3.473, allocations: 8.363 MB / 423.8 MB, free: 10.27 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat