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 1.997/1.997, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.435e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09875/0.09882, allocations: 44.49 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.435/0.5339, allocations: 76.94 MB / 376.9 MB, free: 21.99 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.5343, allocations: 74.69 kB / 377 MB, free: 21.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05959/0.5939, allocations: 16.03 MB / 393 MB, free: 19.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5939, allocations: 0 / 393 MB, free: 19.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.594, allocations: 7.812 kB / 393 MB, free: 19.41 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.002327/0.5963, allocations: 0.7652 MB / 393.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.5964, allocations: 7.875 kB / 393.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002307/0.5966, allocations: 107.1 kB / 393.9 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00429/0.6009, allocations: 432.8 kB / 394.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006414/0.6016, allocations: 327.5 kB / 394.7 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.6017, allocations: 38.53 kB / 394.7 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.6018, allocations: 57 kB / 394.8 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.6032, allocations: 0.5312 MB / 395.3 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.6033, allocations: 7.344 kB / 395.3 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.961e-05/0.6034, allocations: 21.59 kB / 395.3 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.6034, allocations: 11.72 kB / 395.3 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.6049, allocations: 0.6039 MB / 395.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004875/0.6098, allocations: 2.113 MB / 398 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.6129, allocations: 2.965 MB / 401 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006566/0.6136, allocations: 250.9 kB / 401.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.6137, allocations: 96.47 kB / 401.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.6138, allocations: 38.58 kB / 401.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.968e-06/0.6138, allocations: 7.812 kB / 401.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001248/0.6151, allocations: 420.4 kB / 401.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.6151, allocations: 63.61 kB / 401.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.6154, allocations: 189.1 kB / 402 MB, free: 14.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.6154, allocations: 33.14 kB / 402.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.6156, allocations: 238.4 kB / 402.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.6157, allocations: 171.8 kB / 402.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.6157, allocations: 11.44 kB / 402.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.6158, allocations: 333.2 kB / 402.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.6162, allocations: 141.5 kB / 403 MB, free: 13.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.6166, allocations: 260.2 kB / 403.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.617, allocations: 179.8 kB / 403.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.617, allocations: 4 kB / 403.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001345/0.6184, allocations: 0.5349 MB / 403.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.6185, allocations: 9.75 kB / 403.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.6185, allocations: 3.906 kB / 403.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005243/0.619, allocations: 74.28 kB / 404 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/0.6198, allocations: 119 kB / 404.1 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.6224, allocations: 1.646 MB / 405.8 MB, free: 28.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006472/0.6231, allocations: 62.62 kB / 405.8 MB, free: 28.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.6232, allocations: 19.19 kB / 405.8 MB, free: 28.18 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.0001777/0.6233, allocations: 139.8 kB / 406 MB, free: 28.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.6234, allocations: 27.28 kB / 406 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.6249, allocations: 0.5202 MB / 406.5 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.6249, allocations: 7.719 kB / 406.5 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6249, allocations: 4 kB / 406.5 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.6249, allocations: 0 / 406.5 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.6273, allocations: 1.165 MB / 407.7 MB, free: 27.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.6273, allocations: 0 / 407.7 MB, free: 27.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/0.628, allocations: 85.03 kB / 407.8 MB, free: 27.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004292/0.6284, allocations: 69.48 kB / 407.9 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.6285, allocations: 11.34 kB / 407.9 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.6306, allocations: 1.636 MB / 409.5 MB, free: 26.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.6307, allocations: 7.562 kB / 409.5 MB, free: 26.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.6325, allocations: 0.7814 MB / 410.3 MB, free: 26.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.6326, allocations: 111.6 kB / 410.4 MB, free: 25.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.709e-05/0.6327, allocations: 11.62 kB / 410.4 MB, free: 25.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.6332, allocations: 26.78 kB / 410.4 MB, free: 25.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.6333, allocations: 36.58 kB / 410.5 MB, free: 25.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.6334, allocations: 18.89 kB / 410.5 MB, free: 25.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001781/0.6336, allocations: 145.2 kB / 410.6 MB, free: 25.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6336, allocations: 4 kB / 410.6 MB, free: 25.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007888/0.6344, allocations: 165.4 kB / 410.8 MB, free: 25.79 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.002304/0.6367, allocations: 1.515 MB / 412.3 MB, free: 24.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.6381, allocations: 0.5352 MB / 412.9 MB, free: 24.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.6381, allocations: 0 / 412.9 MB, free: 24.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00077/0.6389, allocations: 360.8 kB / 413.2 MB, free: 24.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.6393, allocations: 24.5 kB / 413.2 MB, free: 24.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.6437, allocations: 1.126 MB / 414.4 MB, free: 24.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.6442, allocations: 0.8265 MB / 415.2 MB, free: 23.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003868/0.6446, allocations: 53.33 kB / 415.2 MB, free: 23.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.6449, allocations: 142.4 kB / 415.4 MB, free: 23.55 MB / 330.7 MB Notification: Performance of SimCode: time 9.11e-07/0.6449, allocations: 3.906 kB / 415.4 MB, free: 23.55 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/0.6831, allocations: 7.164 MB / 422.5 MB, free: 20.58 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/0.6834, allocations: 196.8 kB / 422.7 MB, free: 20.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.772/3.455, allocations: 0 / 422.7 MB, free: 20.36 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