Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.707e-05, allocations: 0 / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 50.41 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4615/0.5702, allocations: 83.04 MB / 425.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.5706, allocations: 78.39 kB / 425.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06003/0.6306, allocations: 15.47 MB / 441.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6307, allocations: 0 / 441.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.6307, allocations: 8 kB / 441.2 MB, free: 13.97 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002388/0.6331, allocations: 0.7404 MB / 442 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.6332, allocations: 15.97 kB / 442 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.6334, allocations: 103.9 kB / 442.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00364/0.6371, allocations: 356.3 kB / 442.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.6377, allocations: 303.9 kB / 442.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.6377, allocations: 39.06 kB / 442.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.6379, allocations: 52.62 kB / 442.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.6392, allocations: 490.6 kB / 443.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.6393, allocations: 0 / 443.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.6394, allocations: 20.88 kB / 443.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.6394, allocations: 19.95 kB / 443.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.6408, allocations: 0.5297 MB / 443.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/0.6453, allocations: 1.89 MB / 445.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.6486, allocations: 2.153 MB / 447.9 MB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005593/0.6492, allocations: 195.7 kB / 448.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.6494, allocations: 89.53 kB / 448.2 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.6494, allocations: 42.88 kB / 448.2 MB, free: 7.645 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 2.996e-06/0.6494, allocations: 0 / 448.2 MB, free: 7.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001448/0.6509, allocations: 417.2 kB / 448.6 MB, free: 7.336 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.651, allocations: 71.67 kB / 448.7 MB, free: 7.254 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.6512, allocations: 171.2 kB / 448.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.6513, allocations: 30.83 kB / 448.9 MB, free: 7.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.6515, allocations: 285.1 kB / 449.2 MB, free: 6.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.6517, allocations: 160.6 kB / 449.3 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.6518, allocations: 10.75 kB / 449.4 MB, free: 6.664 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6519, allocations: 325.6 kB / 449.7 MB, free: 6.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.6523, allocations: 131.1 kB / 449.8 MB, free: 6.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.6528, allocations: 210.7 kB / 450 MB, free: 6.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.6532, allocations: 160.4 kB / 450.2 MB, free: 6.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6532, allocations: 0 / 450.2 MB, free: 6.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001416/0.6547, allocations: 494.8 kB / 450.6 MB, free: 5.645 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.6547, allocations: 11.94 kB / 450.7 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.6547, allocations: 0 / 450.7 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.6553, allocations: 90.28 kB / 450.7 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007358/0.656, allocations: 94.95 kB / 450.8 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.6589, allocations: 1.847 MB / 452.7 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.6594, allocations: 48.84 kB / 452.7 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.6595, allocations: 19.36 kB / 452.8 MB, free: 3.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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.0001621/0.6597, allocations: 130.6 kB / 452.9 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.6598, allocations: 23.72 kB / 452.9 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.6613, allocations: 0.5175 MB / 453.4 MB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.6614, allocations: 4 kB / 453.4 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.6614, allocations: 0 / 453.4 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.475e-06/0.6614, allocations: 4 kB / 453.4 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.6639, allocations: 1.079 MB / 454.5 MB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.664, allocations: 0 / 454.5 MB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/0.6646, allocations: 79.91 kB / 454.6 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/0.6651, allocations: 88.75 kB / 454.7 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.6652, allocations: 16.17 kB / 454.7 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002846/0.6681, allocations: 1.827 MB / 456.5 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.6681, allocations: 7.938 kB / 456.5 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.67, allocations: 0.7374 MB / 457.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.6702, allocations: 112.9 kB / 457.4 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.6703, allocations: 12 kB / 457.4 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.6707, allocations: 19.98 kB / 457.4 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.6708, allocations: 36.33 kB / 457.4 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.6709, allocations: 19.98 kB / 457.5 MB, free: 14.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.6711, allocations: 131.2 kB / 457.6 MB, free: 14.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6711, allocations: 0 / 457.6 MB, free: 14.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008441/0.6719, allocations: 155.5 kB / 457.7 MB, free: 14.66 MB / 378.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 (42): * Single equations (assignments): 41 * 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.002465/0.6744, allocations: 1.333 MB / 459.1 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.6759, allocations: 0.5164 MB / 459.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.6759, allocations: 0 / 459.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008119/0.6767, allocations: 355.4 kB / 459.9 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.6771, allocations: 24.44 kB / 460 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.6793, allocations: 0.6786 MB / 460.6 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.6798, allocations: 0.8168 MB / 461.5 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.6802, allocations: 147.4 kB / 461.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6802, allocations: 3.938 kB / 461.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.856/3.536, allocations: 7.725 MB / 469.3 MB, free: 2.949 MB / 378.7 MB