Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.106/2.106, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.489e-05/4.501e-05, allocations: 4 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1316, allocations: 50.41 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.571, allocations: 84.7 MB / 427.3 MB, free: 9.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.5713, allocations: 78.95 kB / 427.4 MB, free: 9.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06416/0.6355, allocations: 16.47 MB / 443.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6355, allocations: 0 / 443.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.6356, allocations: 8 kB / 443.9 MB, free: 11.89 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002901/0.6385, allocations: 0.7921 MB / 444.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.6386, allocations: 16.03 kB / 444.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002955/0.6389, allocations: 110.3 kB / 444.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002983/0.6419, allocations: 306.3 kB / 445.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007396/0.6426, allocations: 331.3 kB / 445.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/0.6427, allocations: 43.5 kB / 445.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.6429, allocations: 65.19 kB / 445.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.6447, allocations: 0.681 MB / 446.2 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.6447, allocations: 3.953 kB / 446.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.916e-05/0.6449, allocations: 22.19 kB / 446.2 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.6449, allocations: 23.48 kB / 446.3 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.6467, allocations: 0.6736 MB / 446.9 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005995/0.6527, allocations: 2.425 MB / 449.4 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.6549, allocations: 1.212 MB / 450.6 MB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.6556, allocations: 235.5 kB / 450.8 MB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.6557, allocations: 93.84 kB / 450.9 MB, free: 6.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.6558, allocations: 34.41 kB / 450.9 MB, free: 6.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.046e-06/0.6558, allocations: 0 / 450.9 MB, free: 6.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001505/0.6573, allocations: 0.5047 MB / 451.4 MB, free: 5.672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.6574, allocations: 81.48 kB / 451.5 MB, free: 5.574 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.6578, allocations: 234.9 kB / 451.8 MB, free: 5.344 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/0.6579, allocations: 33.7 kB / 451.8 MB, free: 5.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.6581, allocations: 302.8 kB / 452.1 MB, free: 5.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.6583, allocations: 161.6 kB / 452.2 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.6584, allocations: 11.94 kB / 452.2 MB, free: 4.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6585, allocations: 338.8 kB / 452.6 MB, free: 4.492 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.6591, allocations: 185.1 kB / 452.8 MB, free: 4.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006258/0.6597, allocations: 311.3 kB / 453.1 MB, free: 3.957 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005814/0.6603, allocations: 216.5 kB / 453.3 MB, free: 3.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.6603, allocations: 4 kB / 453.3 MB, free: 3.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001687/0.662, allocations: 0.5854 MB / 453.9 MB, free: 3.152 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006174/0.6627, allocations: 1.395 MB / 455.3 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.6627, allocations: 4 kB / 455.3 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.6631, allocations: 56.83 kB / 455.3 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009439/0.664, allocations: 119.7 kB / 455.4 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.6662, allocations: 1.592 MB / 457 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006988/0.6669, allocations: 67.42 kB / 457.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.667, allocations: 23.98 kB / 457.1 MB, free: 15.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.667, allocations: 8.062 kB / 457.1 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001557/0.6686, allocations: 0.5316 MB / 457.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6686, allocations: 4.438 kB / 457.7 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.6689, allocations: 52.84 kB / 457.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008556/0.6698, allocations: 111.8 kB / 457.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.6716, allocations: 1.492 MB / 459.3 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.6722, allocations: 43.59 kB / 459.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.6723, allocations: 27.98 kB / 459.4 MB, free: 13.25 MB / 378.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 (55): * Single equations (assignments): 52 * 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.0002273/0.6725, allocations: 136.9 kB / 459.5 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.6726, allocations: 35.58 kB / 459.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.6745, allocations: 0.5904 MB / 460.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.6745, allocations: 4 kB / 460.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6745, allocations: 192 / 460.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.6745, allocations: 7.938 kB / 460.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.6774, allocations: 1.268 MB / 461.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.6775, allocations: 0 / 461.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/0.6783, allocations: 91.88 kB / 461.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.6786, allocations: 48.83 kB / 461.6 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/0.6787, allocations: 15.98 kB / 461.6 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.6807, allocations: 1.581 MB / 463.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6807, allocations: 3.938 kB / 463.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.683, allocations: 0.8974 MB / 464.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.6833, allocations: 152.6 kB / 464.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.399e-05/0.6835, allocations: 12 kB / 464.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.684, allocations: 32.23 kB / 464.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.6842, allocations: 40.38 kB / 464.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/0.6842, allocations: 23.92 kB / 464.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003032/0.6845, allocations: 183.1 kB / 464.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6846, allocations: 0 / 464.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001322/0.6859, allocations: 263.1 kB / 464.7 MB, free: 7.625 MB / 378.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 (44): * Single equations (assignments): 41 * 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.002918/0.6888, allocations: 1.509 MB / 466.3 MB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.6914, allocations: 0.9985 MB / 467.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6915, allocations: 0 / 467.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008653/0.6924, allocations: 376.2 kB / 467.6 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.6929, allocations: 44.5 kB / 467.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.6955, allocations: 0.7865 MB / 468.5 MB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.696, allocations: 0.8407 MB / 469.3 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.6965, allocations: 171.3 kB / 469.5 MB, free: 2.789 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6965, allocations: 3.938 kB / 469.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.803/3.499, allocations: 9.904 MB / 479.4 MB, free: 8.883 MB / 394.7 MB