Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.54e-05, allocations: 4 kB / 255.5 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.09546, allocations: 44.51 MB / 300 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4385/0.534, allocations: 76.93 MB / 376.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.5344, allocations: 78.66 kB / 377 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05884/0.5932, allocations: 16.03 MB / 393 MB, free: 10.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5933, allocations: 0 / 393 MB, free: 10.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.5933, allocations: 7.75 kB / 393 MB, free: 10.61 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.002266/0.5956, allocations: 0.7647 MB / 393.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5956, allocations: 11.7 kB / 393.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000223/0.5959, allocations: 101.4 kB / 393.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/0.6002, allocations: 436.7 kB / 394.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.6008, allocations: 327.9 kB / 394.6 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/0.6008, allocations: 42.41 kB / 394.7 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.601, allocations: 60.88 kB / 394.7 MB, free: 9.793 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.6023, allocations: 0.5325 MB / 395.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.6024, allocations: 0 / 395.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.779e-05/0.6025, allocations: 22.97 kB / 395.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.6025, allocations: 15.5 kB / 395.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.6039, allocations: 0.6029 MB / 395.9 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004774/0.6087, allocations: 2.097 MB / 398 MB, free: 8.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.6117, allocations: 2.977 MB / 401 MB, free: 6.031 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/0.6123, allocations: 250.5 kB / 401.2 MB, free: 6.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.6125, allocations: 96.45 kB / 401.3 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.6125, allocations: 48.11 kB / 401.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.026e-06/0.6125, allocations: 4 kB / 401.4 MB, free: 5.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001242/0.6138, allocations: 415.7 kB / 401.8 MB, free: 5.805 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.6138, allocations: 59.67 kB / 401.8 MB, free: 5.738 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.6141, allocations: 185.5 kB / 402 MB, free: 5.641 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.6141, allocations: 33.08 kB / 402 MB, free: 5.609 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.6145, allocations: 299.1 kB / 402.3 MB, free: 21.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.6146, allocations: 176.8 kB / 402.5 MB, free: 21.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.6147, allocations: 15.75 kB / 402.5 MB, free: 21.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.6148, allocations: 334.5 kB / 402.9 MB, free: 20.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.6152, allocations: 136 kB / 403 MB, free: 20.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.6156, allocations: 261.3 kB / 403.2 MB, free: 20.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.616, allocations: 179.7 kB / 403.4 MB, free: 20.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.6161, allocations: 0 / 403.4 MB, free: 20.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001336/0.6174, allocations: 0.5339 MB / 403.9 MB, free: 20.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.6174, allocations: 7.781 kB / 404 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6175, allocations: 3.812 kB / 404 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/0.618, allocations: 84.11 kB / 404 MB, free: 20.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/0.6188, allocations: 110.8 kB / 404.1 MB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.621, allocations: 1.638 MB / 405.8 MB, free: 19.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.6216, allocations: 57.11 kB / 405.8 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.6217, allocations: 19.31 kB / 405.9 MB, free: 19.37 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.0001752/0.6218, allocations: 142.7 kB / 406 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/0.6219, allocations: 30.86 kB / 406 MB, free: 19.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.6233, allocations: 0.512 MB / 406.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.6234, allocations: 3.875 kB / 406.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6234, allocations: 0 / 406.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.6234, allocations: 7.375 kB / 406.6 MB, free: 19.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.6257, allocations: 1.168 MB / 407.7 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6258, allocations: 0 / 407.7 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.6264, allocations: 88.48 kB / 407.8 MB, free: 18.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004198/0.6269, allocations: 77.16 kB / 407.9 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.6269, allocations: 9.531 kB / 407.9 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.6291, allocations: 1.633 MB / 409.5 MB, free: 17.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.6291, allocations: 4.422 kB / 409.5 MB, free: 17.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.6308, allocations: 0.7815 MB / 410.3 MB, free: 16.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.6309, allocations: 111.5 kB / 410.4 MB, free: 16.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.631, allocations: 13.84 kB / 410.4 MB, free: 16.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.6314, allocations: 30.06 kB / 410.5 MB, free: 16.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.6316, allocations: 39.41 kB / 410.5 MB, free: 16.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.6316, allocations: 13.84 kB / 410.5 MB, free: 16.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.6318, allocations: 144.3 kB / 410.7 MB, free: 16.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6318, allocations: 0 / 410.7 MB, free: 16.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008393/0.6327, allocations: 165.5 kB / 410.8 MB, free: 16.69 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.002215/0.6349, allocations: 1.509 MB / 412.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.6362, allocations: 0.5404 MB / 412.9 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6363, allocations: 0 / 412.9 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007235/0.637, allocations: 355.9 kB / 413.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.6374, allocations: 28.92 kB / 413.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.6417, allocations: 1.15 MB / 414.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.6422, allocations: 0.8268 MB / 415.2 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.6425, allocations: 150.5 kB / 415.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.974e-06/0.6425, allocations: 0 / 415.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.867/3.51, allocations: 8.359 MB / 423.7 MB, free: 9.973 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat