Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.685e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3145, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.4761, allocations: 77.79 MB / 372 MB, free: 4.062 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.4765, allocations: 83.89 kB / 372.1 MB, free: 3.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07215/0.5487, allocations: 17.38 MB / 389.5 MB, free: 2.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5487, allocations: 0 / 389.5 MB, free: 2.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.008e-05/0.5488, allocations: 12 kB / 389.5 MB, free: 2.41 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00426/0.5531, allocations: 0.8372 MB / 390.3 MB, free: 1.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.252e-05/0.5532, allocations: 12.03 kB / 390.3 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007724/0.5609, allocations: 446.8 kB / 390.8 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.5621, allocations: 358.7 kB / 391.1 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.5622, allocations: 24 kB / 391.1 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.5624, allocations: 40 kB / 391.2 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003269/0.5657, allocations: 0.7771 MB / 392 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.5683, allocations: 0.6612 MB / 392.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/0.5684, allocations: 0 / 392.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.5686, allocations: 0 / 392.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.5686, allocations: 16 kB / 392.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008385/0.577, allocations: 2.605 MB / 395.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.5802, allocations: 1.89 MB / 397.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.5808, allocations: 182.2 kB / 397.3 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.581, allocations: 97.5 kB / 397.4 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.5811, allocations: 38.94 kB / 397.4 MB, free: 9.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 5.58e-06/0.5811, allocations: 0 / 397.4 MB, free: 9.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.001787/0.5829, allocations: 464.3 kB / 397.9 MB, free: 9.359 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.583, allocations: 93.55 kB / 398 MB, free: 9.246 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.5835, allocations: 268.3 kB / 398.3 MB, free: 8.977 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.5836, allocations: 25.7 kB / 398.3 MB, free: 8.945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.5838, allocations: 299.2 kB / 398.6 MB, free: 8.648 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.584, allocations: 161.6 kB / 398.7 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.5841, allocations: 0 / 398.7 MB, free: 8.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.5843, allocations: 346.8 kB / 399.1 MB, free: 8.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.5848, allocations: 189.5 kB / 399.3 MB, free: 7.953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.5854, allocations: 391 kB / 399.6 MB, free: 7.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.5867, allocations: 323.7 kB / 400 MB, free: 7.168 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.5867, allocations: 4 kB / 400 MB, free: 7.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002411/0.5891, allocations: 0.7281 MB / 400.7 MB, free: 6.426 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001235/0.5904, allocations: 2.445 MB / 403.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.034e-05/0.5905, allocations: 7.953 kB / 403.1 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004342/0.5909, allocations: 60.83 kB / 403.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.5921, allocations: 143.8 kB / 403.3 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.5942, allocations: 1.533 MB / 404.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008819/0.5951, allocations: 63.27 kB / 404.9 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/0.5952, allocations: 31.98 kB / 405 MB, free: 1.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.5953, allocations: 4 kB / 405 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002392/0.5977, allocations: 0.6648 MB / 405.6 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.5977, allocations: 8 kB / 405.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.598, allocations: 56.88 kB / 405.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.5991, allocations: 139.7 kB / 405.8 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.601, allocations: 1.444 MB / 407.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000762/0.6018, allocations: 55.58 kB / 407.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.09e-05/0.6018, allocations: 31.98 kB / 407.4 MB, free: 15.31 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002387/0.6021, allocations: 124.5 kB / 407.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001575/0.6037, allocations: 464.4 kB / 407.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.6038, allocations: 31.62 kB / 408 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.6056, allocations: 0.5278 MB / 408.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.6057, allocations: 8 kB / 408.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6057, allocations: 4 kB / 408.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.6057, allocations: 3.984 kB / 408.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.6086, allocations: 1.121 MB / 409.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.6086, allocations: 4 kB / 409.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007541/0.6094, allocations: 91.83 kB / 409.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.6097, allocations: 48.83 kB / 409.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.6097, allocations: 8.188 kB / 409.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.6116, allocations: 1.513 MB / 411.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.6116, allocations: 7.891 kB / 411.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.6139, allocations: 0.7648 MB / 412.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.6141, allocations: 156.6 kB / 412.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.6142, allocations: 0 / 412.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/0.6148, allocations: 19.98 kB / 412.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.615, allocations: 40.44 kB / 412.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.615, allocations: 12.05 kB / 412.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000315/0.6153, allocations: 200.5 kB / 412.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6154, allocations: 0 / 412.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001557/0.6169, allocations: 278.8 kB / 412.8 MB, free: 9.688 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002737/0.6197, allocations: 1.353 MB / 414.1 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002475/0.6222, allocations: 1.004 MB / 415.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.6222, allocations: 4.125 kB / 415.1 MB, free: 7.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006652/0.6229, allocations: 319.3 kB / 415.4 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.6234, allocations: 20.36 kB / 415.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005043/0.6284, allocations: 1.198 MB / 416.6 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.629, allocations: 0.853 MB / 417.5 MB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001653/0.6307, allocations: 0.5825 MB / 418.1 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.6312, allocations: 175.4 kB / 418.3 MB, free: 4.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6312, allocations: 0 / 418.3 MB, free: 4.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3395/0.9707, allocations: 8.202 MB / 426.5 MB, free: 102.7 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.971, allocations: 160.8 kB / 426.6 MB, free: 102.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.787/3.758, allocations: 2.062 kB / 426.6 MB, free: 102.5 MB / 362.7 MB