Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.078/2.078, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.564e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 50.42 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5604, allocations: 83.04 MB / 425.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.5607, allocations: 78.34 kB / 425.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0613/0.622, allocations: 15.55 MB / 441.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6221, allocations: 0 / 441.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.6221, allocations: 8 kB / 441.3 MB, free: 13.9 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.002436/0.6246, allocations: 0.7482 MB / 442.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.6247, allocations: 8.031 kB / 442.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002425/0.6249, allocations: 96.64 kB / 442.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/0.6285, allocations: 362 kB / 442.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.6292, allocations: 305.4 kB / 442.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.6292, allocations: 35.81 kB / 442.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.6294, allocations: 53.62 kB / 442.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.6308, allocations: 0.4968 MB / 443.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.6308, allocations: 3.984 kB / 443.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-05/0.6309, allocations: 21.5 kB / 443.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.631, allocations: 19.95 kB / 443.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.6324, allocations: 0.534 MB / 444 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004937/0.6374, allocations: 1.923 MB / 445.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.6405, allocations: 2.151 MB / 448.1 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006892/0.6413, allocations: 240.2 kB / 448.3 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.6414, allocations: 89.53 kB / 448.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.6415, allocations: 34.44 kB / 448.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 3.307e-06/0.6415, allocations: 0 / 448.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001333/0.6428, allocations: 423.2 kB / 448.8 MB, free: 7.242 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.6429, allocations: 55.84 kB / 448.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.6432, allocations: 177.5 kB / 449 MB, free: 7.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.6432, allocations: 36.39 kB / 449.1 MB, free: 6.984 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.6434, allocations: 292.3 kB / 449.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.6436, allocations: 158.5 kB / 449.5 MB, free: 6.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.6437, allocations: 11 kB / 449.5 MB, free: 6.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6439, allocations: 337.3 kB / 449.9 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.6442, allocations: 129.7 kB / 450 MB, free: 6.168 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.6447, allocations: 210.4 kB / 450.2 MB, free: 5.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.6451, allocations: 168.9 kB / 450.4 MB, free: 5.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.6451, allocations: 4 kB / 450.4 MB, free: 5.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001412/0.6466, allocations: 491.2 kB / 450.8 MB, free: 5.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.6466, allocations: 8 kB / 450.9 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.6466, allocations: 4 kB / 450.9 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/0.6472, allocations: 85.33 kB / 450.9 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007584/0.6479, allocations: 99.14 kB / 451 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/0.6504, allocations: 1.637 MB / 452.7 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.651, allocations: 49.77 kB / 452.7 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.6511, allocations: 18.31 kB / 452.7 MB, free: 3.711 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0001756/0.6512, allocations: 130.1 kB / 452.9 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/0.6513, allocations: 27.72 kB / 452.9 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.6529, allocations: 0.5078 MB / 453.4 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.6529, allocations: 11.94 kB / 453.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6529, allocations: 0 / 453.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6529, allocations: 0 / 453.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.6556, allocations: 1.118 MB / 454.5 MB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.6557, allocations: 0 / 454.5 MB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/0.6564, allocations: 83.89 kB / 454.6 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/0.6569, allocations: 84.8 kB / 454.7 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.6569, allocations: 12 kB / 454.7 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.6594, allocations: 1.625 MB / 456.3 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.6594, allocations: 0 / 456.3 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.6614, allocations: 0.7784 MB / 457.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.6616, allocations: 108.7 kB / 457.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.6617, allocations: 12 kB / 457.2 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.6621, allocations: 27.98 kB / 457.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.6623, allocations: 48.33 kB / 457.3 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.6623, allocations: 16 kB / 457.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.6625, allocations: 127.3 kB / 457.4 MB, free: 14.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6626, allocations: 0 / 457.4 MB, free: 14.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008057/0.6634, allocations: 159.5 kB / 457.6 MB, free: 14.73 MB / 378.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 (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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002581/0.666, allocations: 1.508 MB / 459.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.6675, allocations: 0.5087 MB / 459.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6676, allocations: 0 / 459.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008871/0.6685, allocations: 359.1 kB / 460 MB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.6689, allocations: 26.88 kB / 460 MB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.6711, allocations: 0.6958 MB / 460.7 MB, free: 11.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.6716, allocations: 0.8127 MB / 461.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.672, allocations: 139.4 kB / 461.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/0.672, allocations: 4 kB / 461.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.745/3.417, allocations: 7.966 MB / 469.6 MB, free: 2.586 MB / 378.7 MB