Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.196/2.196, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.444e-05, allocations: 8 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3404, allocations: 44.49 MB / 294.3 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.4962, allocations: 76.27 MB / 370.6 MB, free: 5.621 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/0.4966, allocations: 79.97 kB / 370.6 MB, free: 5.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0719/0.5686, allocations: 15.74 MB / 386.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5686, allocations: 0 / 386.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.568e-05/0.5687, allocations: 12 kB / 386.4 MB, free: 5.617 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.002726/0.5714, allocations: 0.7482 MB / 387.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.5715, allocations: 8.031 kB / 387.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/0.5767, allocations: 438.9 kB / 387.6 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007555/0.5775, allocations: 322.3 kB / 387.9 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.5775, allocations: 16 kB / 387.9 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.5777, allocations: 35.91 kB / 387.9 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001867/0.5796, allocations: 0.5688 MB / 388.5 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.581, allocations: 427.9 kB / 388.9 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.5811, allocations: 0 / 388.9 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.5812, allocations: 7.938 kB / 388.9 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.5812, allocations: 16 kB / 389 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00611/0.5874, allocations: 1.952 MB / 390.9 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/0.5918, allocations: 2.96 MB / 393.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006118/0.5924, allocations: 182.2 kB / 394 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.5927, allocations: 93.47 kB / 394.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/0.5927, allocations: 43 kB / 394.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.777e-06/0.5928, allocations: 0 / 394.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.002116/0.5949, allocations: 472.4 kB / 394.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.595, allocations: 55.84 kB / 394.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.5952, allocations: 177.2 kB / 394.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.5953, allocations: 25.7 kB / 394.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.5955, allocations: 248 kB / 395.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.5957, allocations: 153.7 kB / 395.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.5958, allocations: 0 / 395.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.596, allocations: 334.8 kB / 395.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/0.5964, allocations: 133.1 kB / 395.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.597, allocations: 241.9 kB / 396 MB, free: 11.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.5983, allocations: 260.5 kB / 396.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/0.5983, allocations: 4 kB / 396.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002395/0.6007, allocations: 0.5864 MB / 396.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.6008, allocations: 8 kB / 396.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.6008, allocations: 0 / 396.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.6014, allocations: 88.75 kB / 396.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/0.6023, allocations: 115.8 kB / 397 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.6055, allocations: 1.779 MB / 398.8 MB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.6062, allocations: 39.53 kB / 398.8 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/0.6062, allocations: 20.06 kB / 398.9 MB, free: 8.109 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.6064, allocations: 124.6 kB / 399 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001919/0.6084, allocations: 480.3 kB / 399.5 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.6085, allocations: 23.72 kB / 399.5 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.6107, allocations: 0.5589 MB / 400 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.6108, allocations: 8 kB / 400 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6108, allocations: 4 kB / 400.1 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.6108, allocations: 0 / 400.1 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.6142, allocations: 1.075 MB / 401.1 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.6142, allocations: 0 / 401.1 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007564/0.615, allocations: 79.89 kB / 401.2 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000506/0.6155, allocations: 80.81 kB / 401.3 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.6156, allocations: 4 kB / 401.3 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/0.6187, allocations: 1.767 MB / 403.1 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6188, allocations: 0 / 403.1 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.6215, allocations: 0.7882 MB / 403.8 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.6217, allocations: 116.6 kB / 404 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/0.6218, allocations: 0 / 404 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.6222, allocations: 11.98 kB / 404 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.6224, allocations: 36.39 kB / 404 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/0.6225, allocations: 12 kB / 404 MB, free: 2.734 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.6226, allocations: 136.4 kB / 404.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6226, allocations: 0 / 404.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001009/0.6237, allocations: 139.5 kB / 404.3 MB, free: 2.465 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003168/0.6268, allocations: 1.374 MB / 405.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.6285, allocations: 0.5241 MB / 406.2 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6285, allocations: 0 / 406.2 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008548/0.6294, allocations: 348 kB / 406.5 MB, free: 184 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.6298, allocations: 12 kB / 406.5 MB, free: 172 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.6348, allocations: 1.058 MB / 407.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.6354, allocations: 0.8248 MB / 408.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000471/0.6359, allocations: 51.27 kB / 408.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.6362, allocations: 139.4 kB / 408.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6362, allocations: 0 / 408.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05914/0.6954, allocations: 6.298 MB / 414.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003373/0.6958, allocations: 178.7 kB / 415.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.92/3.616, allocations: 0 / 415.1 MB, free: 7.543 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat