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.021/2.021, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.863e-05, allocations: 11.98 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3045, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.4435, allocations: 76.28 MB / 370.5 MB, free: 5.559 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.4439, allocations: 79.97 kB / 370.6 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06264/0.5065, allocations: 15.82 MB / 386.4 MB, free: 5.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5066, allocations: 0 / 386.4 MB, free: 5.492 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.5066, allocations: 16 kB / 386.4 MB, free: 5.477 MB / 330.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.002382/0.509, allocations: 0.7599 MB / 387.2 MB, free: 4.672 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.509, allocations: 8.031 kB / 387.2 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/0.5134, allocations: 438.9 kB / 387.6 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/0.5142, allocations: 322.3 kB / 387.9 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.5142, allocations: 16 kB / 387.9 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.5144, allocations: 35.91 kB / 388 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001628/0.516, allocations: 0.5805 MB / 388.6 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.5172, allocations: 439.9 kB / 389 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.5173, allocations: 0 / 389 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.847e-05/0.5173, allocations: 0 / 389 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.5174, allocations: 20 kB / 389 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005188/0.5226, allocations: 1.985 MB / 391 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003756/0.5264, allocations: 2.949 MB / 393.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000671/0.5271, allocations: 245.3 kB / 394.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.5273, allocations: 89.53 kB / 394.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.5273, allocations: 39 kB / 394.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 5.6e-06/0.5273, allocations: 3.984 kB / 394.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001801/0.5291, allocations: 476.4 kB / 394.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.5292, allocations: 59.83 kB / 394.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.5294, allocations: 165.5 kB / 395 MB, free: 12.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.5295, allocations: 29.7 kB / 395 MB, free: 12.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.5297, allocations: 240 kB / 395.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.5299, allocations: 157.6 kB / 395.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.5299, allocations: 0 / 395.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.5301, allocations: 342.8 kB / 395.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.5305, allocations: 129.1 kB / 395.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.5309, allocations: 251.6 kB / 396.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.532, allocations: 264.5 kB / 396.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.532, allocations: 0 / 396.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00201/0.5341, allocations: 0.586 MB / 397 MB, free: 10.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.5341, allocations: 8.469 kB / 397 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5341, allocations: 8 kB / 397 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004949/0.5346, allocations: 72.81 kB / 397 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008506/0.5355, allocations: 115.8 kB / 397.2 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/0.5379, allocations: 1.569 MB / 398.7 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.5384, allocations: 47.58 kB / 398.8 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.5385, allocations: 20 kB / 398.8 MB, free: 8.066 MB / 346.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.0001694/0.5387, allocations: 120.6 kB / 398.9 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001687/0.5404, allocations: 472.4 kB / 399.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.5405, allocations: 31.58 kB / 399.4 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.5424, allocations: 0.559 MB / 400 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.5425, allocations: 12 kB / 400 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5425, allocations: 0 / 400 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.5425, allocations: 3.984 kB / 400 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.5455, allocations: 1.112 MB / 401.1 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.5455, allocations: 0 / 401.1 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/0.5462, allocations: 87.89 kB / 401.2 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004281/0.5466, allocations: 68.81 kB / 401.2 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.5467, allocations: 12.06 kB / 401.3 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.549, allocations: 1.557 MB / 402.8 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.549, allocations: 0 / 402.8 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.5513, allocations: 0.8331 MB / 403.6 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.5515, allocations: 108.7 kB / 403.8 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.5516, allocations: 4 kB / 403.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.552, allocations: 15.98 kB / 403.8 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.5521, allocations: 44.31 kB / 403.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.5522, allocations: 12.06 kB / 403.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.5524, allocations: 128.3 kB / 404 MB, free: 2.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5524, allocations: 0 / 404 MB, free: 2.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008273/0.5532, allocations: 139.5 kB / 404.1 MB, free: 2.52 MB / 346.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.002888/0.5561, allocations: 1.534 MB / 405.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.5576, allocations: 0.5241 MB / 406.1 MB, free: 424 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5576, allocations: 0.9375 kB / 406.1 MB, free: 424 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000796/0.5584, allocations: 347.3 kB / 406.5 MB, free: 68 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.5588, allocations: 19.88 kB / 406.5 MB, free: 48 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/0.5634, allocations: 1.079 MB / 407.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.564, allocations: 0.8287 MB / 408.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004031/0.5644, allocations: 51.27 kB / 408.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.5648, allocations: 143.4 kB / 408.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5648, allocations: 0 / 408.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04804/0.6128, allocations: 6.303 MB / 414.9 MB, free: 7.574 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/0.6132, allocations: 166.2 kB / 415.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/3.338, allocations: 2.25 kB / 415.1 MB, free: 7.387 MB / 362.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