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 2.085/2.085, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.815e-05/2.817e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3048, allocations: 44.49 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.4646, allocations: 76.27 MB / 370.5 MB, free: 5.605 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.4649, allocations: 83.95 kB / 370.6 MB, free: 5.523 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06242/0.5274, allocations: 15.81 MB / 386.4 MB, free: 5.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5274, allocations: 0 / 386.4 MB, free: 5.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.5275, allocations: 20 kB / 386.4 MB, free: 5.52 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.002412/0.5299, allocations: 0.756 MB / 387.1 MB, free: 4.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.53, allocations: 8.031 kB / 387.1 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004371/0.5343, allocations: 438.9 kB / 387.6 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007346/0.5351, allocations: 317.9 kB / 387.9 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.5352, allocations: 20 kB / 387.9 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.5353, allocations: 35.91 kB / 387.9 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001599/0.5369, allocations: 0.5844 MB / 388.5 MB, free: 3.293 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.5382, allocations: 435.9 kB / 389 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.5382, allocations: 0 / 389 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.5383, allocations: 4 kB / 389 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.5383, allocations: 16 kB / 389 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005638/0.544, allocations: 1.989 MB / 391 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005092/0.5491, allocations: 2.949 MB / 393.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009142/0.5501, allocations: 244.7 kB / 394.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.5503, allocations: 89.55 kB / 394.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.5504, allocations: 42.98 kB / 394.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 4.258e-06/0.5504, allocations: 0 / 394.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.00198/0.5524, allocations: 472.4 kB / 394.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.5525, allocations: 55.84 kB / 394.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.5527, allocations: 169.5 kB / 395 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.5528, allocations: 25.7 kB / 395 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.553, allocations: 306.5 kB / 395.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.5532, allocations: 161.6 kB / 395.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.5532, allocations: 0 / 395.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5534, allocations: 330.8 kB / 395.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.5537, allocations: 137 kB / 395.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.5542, allocations: 255.6 kB / 396.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.5553, allocations: 260.5 kB / 396.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5553, allocations: 0 / 396.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002021/0.5573, allocations: 0.5821 MB / 397 MB, free: 10.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.5574, allocations: 8.469 kB / 397 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.5574, allocations: 8 kB / 397 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/0.5579, allocations: 76.8 kB / 397.1 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008701/0.5588, allocations: 115.8 kB / 397.2 MB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.5611, allocations: 1.565 MB / 398.8 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005575/0.5617, allocations: 51.48 kB / 398.8 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.5618, allocations: 20 kB / 398.8 MB, free: 8.059 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.0001653/0.562, allocations: 120.6 kB / 398.9 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00172/0.5637, allocations: 472.4 kB / 399.4 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/0.5638, allocations: 27.67 kB / 399.4 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.5658, allocations: 0.555 MB / 400 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.5658, allocations: 12 kB / 400 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5659, allocations: 0 / 400 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.5659, allocations: 3.984 kB / 400 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.5689, allocations: 1.112 MB / 401.1 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.569, allocations: 4 kB / 401.1 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/0.5697, allocations: 87.89 kB / 401.2 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/0.5701, allocations: 76.84 kB / 401.3 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.5702, allocations: 12 kB / 401.3 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.5724, allocations: 1.557 MB / 402.8 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5725, allocations: 0 / 402.8 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.5748, allocations: 0.8253 MB / 403.7 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.575, allocations: 108.7 kB / 403.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.5751, allocations: 4 kB / 403.8 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.5755, allocations: 11.98 kB / 403.8 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.5756, allocations: 44.31 kB / 403.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.5757, allocations: 16.06 kB / 403.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.5759, allocations: 124.3 kB / 404 MB, free: 2.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5759, allocations: 0 / 404 MB, free: 2.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008361/0.5767, 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.002867/0.5796, allocations: 1.536 MB / 405.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.5811, allocations: 0.5241 MB / 406.2 MB, free: 420 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5811, allocations: 0.9375 kB / 406.2 MB, free: 420 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007683/0.5819, allocations: 351.3 kB / 406.5 MB, free: 60 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.5823, allocations: 15.94 kB / 406.5 MB, free: 44 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.587, allocations: 1.108 MB / 407.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.5875, allocations: 0.8326 MB / 408.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.5879, allocations: 139.4 kB / 408.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.588, allocations: 0 / 408.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.821/3.409, allocations: 8.224 MB / 416.8 MB, free: 5.648 MB / 362.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