Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.2/2.2, allocations: 195 MB / 202.9 MB, free: 13.77 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.137e-05, allocations: 8 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.347, allocations: 44.5 MB / 294.3 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.5015, allocations: 77.78 MB / 372.1 MB, free: 4.102 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.5019, allocations: 71.97 kB / 372.1 MB, free: 4.031 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08012/0.582, allocations: 17.4 MB / 389.5 MB, free: 2.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5821, allocations: 0 / 389.5 MB, free: 2.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.202e-05/0.5821, allocations: 12 kB / 389.6 MB, free: 2.457 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.003264/0.5854, allocations: 0.8421 MB / 390.4 MB, free: 1.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/0.5855, allocations: 12.03 kB / 390.4 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007561/0.593, allocations: 450.8 kB / 390.8 MB, free: 1.117 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.5942, allocations: 346.8 kB / 391.2 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.095e-05/0.5943, allocations: 20 kB / 391.2 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/0.5946, allocations: 40 kB / 391.2 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003459/0.5981, allocations: 0.7772 MB / 392 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.6005, allocations: 0.665 MB / 392.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.6006, allocations: 4 kB / 392.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.6007, allocations: 0 / 392.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.6008, allocations: 20 kB / 392.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007735/0.6085, allocations: 2.601 MB / 395.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.6116, allocations: 1.893 MB / 397.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005843/0.6122, allocations: 190.1 kB / 397.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.6124, allocations: 93.88 kB / 397.5 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.6125, allocations: 43 kB / 397.5 MB, free: 9.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 3.937e-06/0.6125, allocations: 0 / 397.5 MB, free: 9.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.001969/0.6145, allocations: 464.4 kB / 398 MB, free: 9.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.6146, allocations: 81.55 kB / 398.1 MB, free: 9.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005502/0.6152, allocations: 276.3 kB / 398.3 MB, free: 9.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/0.6153, allocations: 25.7 kB / 398.4 MB, free: 8.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.6155, allocations: 299.2 kB / 398.6 MB, free: 8.684 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.6158, allocations: 161.6 kB / 398.8 MB, free: 8.523 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.6159, allocations: 4 kB / 398.8 MB, free: 8.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.616, allocations: 346.7 kB / 399.1 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/0.6166, allocations: 189.5 kB / 399.3 MB, free: 7.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.6174, allocations: 387.1 kB / 399.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.6189, allocations: 323.6 kB / 400 MB, free: 7.203 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.6189, allocations: 4 kB / 400 MB, free: 7.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002794/0.6217, allocations: 0.7205 MB / 400.7 MB, free: 6.469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001209/0.623, allocations: 2.437 MB / 403.2 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.623, allocations: 12 kB / 403.2 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004441/0.6235, allocations: 68.72 kB / 403.3 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.6248, allocations: 135.8 kB / 403.4 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.6271, allocations: 1.537 MB / 404.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009623/0.6281, allocations: 67.33 kB / 405 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.6282, allocations: 31.98 kB / 405 MB, free: 1.871 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.6282, allocations: 4 kB / 405 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002661/0.6309, allocations: 0.6643 MB / 405.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.631, allocations: 8.125 kB / 405.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002985/0.6313, allocations: 57.5 kB / 405.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.6324, allocations: 139.8 kB / 405.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.6345, allocations: 1.444 MB / 407.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008075/0.6353, allocations: 47.52 kB / 407.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-05/0.6354, allocations: 35.98 kB / 407.4 MB, free: 15.36 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.0002592/0.6357, allocations: 122 kB / 407.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001841/0.6376, allocations: 472.4 kB / 408 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.6377, allocations: 31.62 kB / 408 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.6399, allocations: 0.5239 MB / 408.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.6399, allocations: 11.94 kB / 408.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.64, allocations: 0 / 408.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.64, allocations: 3.984 kB / 408.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/0.6433, allocations: 1.125 MB / 409.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.6434, allocations: 192 / 409.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/0.6442, allocations: 91.89 kB / 409.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003216/0.6446, allocations: 48.83 kB / 409.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.6446, allocations: 8 kB / 409.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.6469, allocations: 1.521 MB / 411.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.647, allocations: 0 / 411.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.6494, allocations: 0.7646 MB / 412.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.6497, allocations: 152.6 kB / 412.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.6499, allocations: 4 kB / 412.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/0.6505, allocations: 24.11 kB / 412.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.6506, allocations: 32.38 kB / 412.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-05/0.6507, allocations: 16.12 kB / 412.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000341/0.6511, allocations: 204.4 kB / 412.6 MB, free: 10 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6511, allocations: 4 kB / 412.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001725/0.6528, allocations: 278.8 kB / 412.8 MB, free: 9.723 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.002997/0.6558, allocations: 1.355 MB / 414.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002713/0.6586, allocations: 1.007 MB / 415.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6586, allocations: 0 / 415.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007703/0.6594, allocations: 315.3 kB / 415.5 MB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.6599, allocations: 29.42 kB / 415.5 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.6655, allocations: 1.19 MB / 416.7 MB, free: 5.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.6661, allocations: 0.853 MB / 417.6 MB, free: 4.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001832/0.668, allocations: 0.5826 MB / 418.2 MB, free: 4.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004799/0.6685, allocations: 171.4 kB / 418.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6685, allocations: 0 / 418.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3207/0.9892, allocations: 8.205 MB / 426.5 MB, free: 102.9 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002439/0.9895, allocations: 167.8 kB / 426.7 MB, free: 102.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.077/4.066, allocations: 4 kB / 426.7 MB, free: 102.7 MB / 362.7 MB