Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.05/2.05, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.818e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 44.5 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4941/0.6164, allocations: 76.93 MB / 376.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.6167, allocations: 80.08 kB / 377 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05839/0.6751, allocations: 16.03 MB / 393 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.6752, allocations: 0 / 393 MB, free: 10.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.6752, allocations: 7.719 kB / 393 MB, free: 10.96 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.002162/0.6774, allocations: 0.7652 MB / 393.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.6775, allocations: 7.875 kB / 393.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001926/0.6777, allocations: 109.8 kB / 393.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/0.6818, allocations: 426.8 kB / 394.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.6824, allocations: 325 kB / 394.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.6824, allocations: 43.53 kB / 394.7 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.6826, allocations: 57.69 kB / 394.7 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.6839, allocations: 0.5425 MB / 395.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.684, allocations: 0 / 395.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/0.6841, allocations: 19.19 kB / 395.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.6841, allocations: 15.44 kB / 395.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.6855, allocations: 0.6151 MB / 395.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/0.6901, allocations: 2.11 MB / 398 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.6931, allocations: 2.969 MB / 401 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005863/0.6938, allocations: 258.2 kB / 401.2 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.6939, allocations: 100.5 kB / 401.3 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.6939, allocations: 42.17 kB / 401.4 MB, free: 6.215 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.996e-06/0.6939, allocations: 0 / 401.4 MB, free: 6.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001216/0.6952, allocations: 418.5 kB / 401.8 MB, free: 6.148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.6952, allocations: 67.42 kB / 401.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.6955, allocations: 179.3 kB / 402 MB, free: 5.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.6955, allocations: 32.58 kB / 402.1 MB, free: 5.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.6956, allocations: 242.6 kB / 402.3 MB, free: 5.773 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.6958, allocations: 168.4 kB / 402.5 MB, free: 5.664 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.6958, allocations: 11.5 kB / 402.5 MB, free: 5.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002731/0.6961, allocations: 337.3 kB / 402.8 MB, free: 21.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.6965, allocations: 141.8 kB / 402.9 MB, free: 21.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.6969, allocations: 263.2 kB / 403.2 MB, free: 21.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.6973, allocations: 184.5 kB / 403.4 MB, free: 21.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6973, allocations: 0 / 403.4 MB, free: 21.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001356/0.6987, allocations: 0.547 MB / 403.9 MB, free: 21.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.6987, allocations: 7.688 kB / 403.9 MB, free: 21.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6988, allocations: 3.844 kB / 403.9 MB, free: 21.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/0.6993, allocations: 78.31 kB / 404 MB, free: 21.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007879/0.7001, allocations: 120.2 kB / 404.1 MB, free: 21.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.7023, allocations: 1.634 MB / 405.8 MB, free: 19.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.7029, allocations: 57.95 kB / 405.8 MB, free: 19.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.703, allocations: 22.5 kB / 405.8 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.0001993/0.7032, allocations: 137.8 kB / 406 MB, free: 19.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.7033, allocations: 23.44 kB / 406 MB, free: 19.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.7047, allocations: 0.5181 MB / 406.5 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.7047, allocations: 11.56 kB / 406.5 MB, free: 19.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.7047, allocations: 4 kB / 406.5 MB, free: 19.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.7047, allocations: 0 / 406.5 MB, free: 19.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.707, allocations: 1.171 MB / 407.7 MB, free: 18.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.707, allocations: 0 / 407.7 MB, free: 18.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/0.7077, allocations: 80.78 kB / 407.8 MB, free: 18.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004114/0.7081, allocations: 76.38 kB / 407.9 MB, free: 18.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.7082, allocations: 19.61 kB / 407.9 MB, free: 18.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.7103, allocations: 1.63 MB / 409.5 MB, free: 17.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.7103, allocations: 3.953 kB / 409.5 MB, free: 17.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.712, allocations: 0.7881 MB / 410.3 MB, free: 17.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.7121, allocations: 115.4 kB / 410.4 MB, free: 17.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.7122, allocations: 13.91 kB / 410.4 MB, free: 17.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.7127, allocations: 26.78 kB / 410.5 MB, free: 17.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.7128, allocations: 38.14 kB / 410.5 MB, free: 17.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.7128, allocations: 11.31 kB / 410.5 MB, free: 17.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001669/0.713, allocations: 144.8 kB / 410.6 MB, free: 16.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.713, allocations: 0 / 410.6 MB, free: 16.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007332/0.7138, allocations: 167.9 kB / 410.8 MB, free: 16.95 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.002177/0.716, allocations: 1.516 MB / 412.3 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.7173, allocations: 0.5493 MB / 412.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.7173, allocations: 4.062 kB / 412.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007222/0.7181, allocations: 365.5 kB / 413.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.7185, allocations: 21.59 kB / 413.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005969/0.7244, allocations: 1.136 MB / 414.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.7251, allocations: 0.8226 MB / 415.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005716/0.7257, allocations: 58.16 kB / 415.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/0.7261, allocations: 138.3 kB / 415.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.923e-06/0.7262, allocations: 0 / 415.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.7623, allocations: 7.205 MB / 422.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/0.7626, allocations: 201.9 kB / 422.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/3.569, allocations: 0 / 422.8 MB, free: 10.68 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat