Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.162/2.162, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.062e-05/3.065e-05, allocations: 0 / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.09887, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/0.5136, allocations: 81.29 MB / 398.3 MB, free: 6.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/0.5141, allocations: 79.83 kB / 398.4 MB, free: 6.727 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07457/0.5886, allocations: 16.21 MB / 414.6 MB, free: 9.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5887, allocations: 0 / 414.6 MB, free: 9.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.411e-05/0.5887, allocations: 8 kB / 414.6 MB, free: 9.281 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.002625/0.5914, allocations: 0.761 MB / 415.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.5915, allocations: 15.97 kB / 415.4 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000281/0.5918, allocations: 101 kB / 415.5 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004488/0.5963, allocations: 434.4 kB / 415.9 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/0.597, allocations: 318.6 kB / 416.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.5971, allocations: 47.77 kB / 416.3 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.5972, allocations: 58.8 kB / 416.3 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.5988, allocations: 0.5318 MB / 416.9 MB, free: 7.352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.5988, allocations: 3.938 kB / 416.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-05/0.5989, allocations: 22.94 kB / 416.9 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.599, allocations: 19.94 kB / 416.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.6006, allocations: 0.597 MB / 417.5 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005832/0.6065, allocations: 2.11 MB / 419.6 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003929/0.6105, allocations: 2.976 MB / 422.6 MB, free: 1.898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/0.6113, allocations: 252.1 kB / 422.8 MB, free: 1.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.6115, allocations: 97.28 kB / 422.9 MB, free: 1.625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.6115, allocations: 38.44 kB / 423 MB, free: 1.582 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 3.677e-06/0.6115, allocations: 0 / 423 MB, free: 1.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.001363/0.6129, allocations: 425 kB / 423.4 MB, free: 1.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.613, allocations: 55.84 kB / 423.4 MB, free: 1.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.6133, allocations: 195.9 kB / 423.6 MB, free: 1.031 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.6134, allocations: 36.27 kB / 423.7 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.6136, allocations: 236.5 kB / 423.9 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.6138, allocations: 170.3 kB / 424.1 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.6138, allocations: 11.31 kB / 424.1 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.614, allocations: 336.1 kB / 424.4 MB, free: 312 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.6145, allocations: 143.1 kB / 424.5 MB, free: 224 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.615, allocations: 257.8 kB / 424.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/0.6155, allocations: 178.7 kB / 425 MB, free: 15.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.6155, allocations: 4 kB / 425 MB, free: 15.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001557/0.6171, allocations: 0.5371 MB / 425.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.6171, allocations: 8 kB / 425.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.6172, allocations: 4 kB / 425.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005296/0.6177, allocations: 78.38 kB / 425.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009105/0.6186, allocations: 114.9 kB / 425.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.6213, allocations: 1.638 MB / 427.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/0.6219, allocations: 62.7 kB / 427.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.622, allocations: 23.88 kB / 427.4 MB, free: 13.61 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.0001776/0.6222, allocations: 137 kB / 427.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.6223, allocations: 31.62 kB / 427.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.6239, allocations: 0.5236 MB / 428.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6239, allocations: 4 kB / 428.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.624, allocations: 8 kB / 428.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.624, allocations: 3.984 kB / 428.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.6267, allocations: 1.145 MB / 429.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.6267, allocations: 8 kB / 429.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/0.6276, allocations: 83.83 kB / 429.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/0.628, allocations: 75.67 kB / 429.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.6281, allocations: 10.88 kB / 429.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.6304, allocations: 1.64 MB / 431.1 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6305, allocations: 0 / 431.1 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.6324, allocations: 0.7841 MB / 431.9 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.6326, allocations: 115.8 kB / 432 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/0.6327, allocations: 10.81 kB / 432 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.6331, allocations: 21.8 kB / 432 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.6333, allocations: 32.2 kB / 432.1 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.6333, allocations: 19.83 kB / 432.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001973/0.6335, allocations: 145.3 kB / 432.2 MB, free: 9.508 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6335, allocations: 7.938 kB / 432.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008405/0.6344, allocations: 160.5 kB / 432.4 MB, free: 9.363 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.002572/0.637, allocations: 1.509 MB / 433.9 MB, free: 8.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.6386, allocations: 0.5311 MB / 434.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.6387, allocations: 4.438 kB / 434.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009559/0.6396, allocations: 363.9 kB / 434.8 MB, free: 7.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.6402, allocations: 23.27 kB / 434.8 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.6452, allocations: 1.155 MB / 436 MB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.6458, allocations: 0.8332 MB / 436.8 MB, free: 5.484 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004416/0.6463, allocations: 51.27 kB / 436.8 MB, free: 5.434 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.6466, allocations: 144.1 kB / 437 MB, free: 5.391 MB / 346.7 MB Notification: Performance of SimCode: time 6.212e-06/0.6466, allocations: 0 / 437 MB, free: 5.391 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04513/0.6918, allocations: 7.272 MB / 444.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003379/0.6922, allocations: 196.8 kB / 444.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.303, allocations: 3.938 kB / 444.5 MB, free: 13.97 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat