Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.63e-05/2.659e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2679, allocations: 38.77 MB / 258.3 MB, free: 12.04 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4072, allocations: 77.23 MB / 335.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4075, allocations: 75.95 kB / 335.6 MB, free: 0.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3832/0.7907, allocations: 36.27 MB / 371.9 MB, free: 79.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.7908, allocations: 0 / 371.9 MB, free: 79.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.566e-05/0.7908, allocations: 15.56 kB / 371.9 MB, free: 79.39 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002716/0.7936, allocations: 1.184 MB / 373.1 MB, free: 78.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.7936, allocations: 9.219 kB / 373.1 MB, free: 78.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.794, allocations: 131.2 kB / 373.2 MB, free: 78.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.7956, allocations: 0.7228 MB / 374 MB, free: 78.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.7956, allocations: 8.219 kB / 374 MB, free: 78.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.589e-05/0.7957, allocations: 12.81 kB / 374 MB, free: 78.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005422/0.7963, allocations: 196 kB / 374.2 MB, free: 78.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.7969, allocations: 262.6 kB / 374.4 MB, free: 78.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.7969, allocations: 1.188 kB / 374.4 MB, free: 78.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.797, allocations: 1.75 kB / 374.4 MB, free: 78.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.797, allocations: 6 kB / 374.4 MB, free: 78.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/0.8, allocations: 1.134 MB / 375.6 MB, free: 77.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.8006, allocations: 218.4 kB / 375.8 MB, free: 77.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/0.8012, allocations: 281.8 kB / 376.1 MB, free: 77.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/0.8029, allocations: 1.278 MB / 377.3 MB, free: 76.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.803, allocations: 41.5 kB / 377.4 MB, free: 76.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.707e-06/0.803, allocations: 0 / 377.4 MB, free: 76.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.003585/0.8066, allocations: 1.157 MB / 378.5 MB, free: 76.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.8067, allocations: 112.8 kB / 378.6 MB, free: 75.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.8079, allocations: 0.7131 MB / 379.3 MB, free: 75.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/0.8079, allocations: 29.33 kB / 379.4 MB, free: 75.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.8082, allocations: 347 kB / 379.7 MB, free: 75.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.8084, allocations: 129 kB / 379.8 MB, free: 75.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.8084, allocations: 0 / 379.8 MB, free: 75.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.8085, allocations: 330 kB / 380.2 MB, free: 75.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.8087, allocations: 97.44 kB / 380.3 MB, free: 75.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.809, allocations: 137.8 kB / 380.4 MB, free: 75.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.8095, allocations: 141.7 kB / 380.5 MB, free: 75.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8095, allocations: 0 / 380.5 MB, free: 75.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001145/0.8107, allocations: 393.9 kB / 380.9 MB, free: 75.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/0.8108, allocations: 44.06 kB / 381 MB, free: 75.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.896e-05/0.8108, allocations: 15.39 kB / 381 MB, free: 75.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.8112, allocations: 73.06 kB / 381 MB, free: 75.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.8115, allocations: 40.73 kB / 381.1 MB, free: 75.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.814, allocations: 2.893 MB / 384 MB, free: 72.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/0.8148, allocations: 11.55 kB / 384 MB, free: 72.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.8149, allocations: 16.66 kB / 384 MB, free: 72.51 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.8151, allocations: 146.6 kB / 384.2 MB, free: 72.38 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001344/0.8164, allocations: 0.5027 MB / 384.7 MB, free: 72.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.8166, allocations: 120.5 kB / 384.8 MB, free: 72.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.8188, allocations: 0.605 MB / 385.4 MB, free: 72.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.8188, allocations: 3.938 kB / 385.4 MB, free: 72.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8188, allocations: 3.953 kB / 385.4 MB, free: 72.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.8189, allocations: 7.438 kB / 385.4 MB, free: 72.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.8201, allocations: 0.5562 MB / 385.9 MB, free: 71.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.295e-05/0.8201, allocations: 14.8 kB / 386 MB, free: 71.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.8205, allocations: 32.59 kB / 386 MB, free: 71.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.8208, allocations: 74.59 kB / 386.1 MB, free: 71.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.8208, allocations: 11.28 kB / 386.1 MB, free: 71.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002359/0.8232, allocations: 2.902 MB / 389 MB, free: 69.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.8233, allocations: 0 / 389 MB, free: 69.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.8251, allocations: 0.763 MB / 389.7 MB, free: 69.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006775/0.8258, allocations: 287 kB / 390 MB, free: 68.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.826, allocations: 6.859 kB / 390 MB, free: 68.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.8266, allocations: 10.5 kB / 390 MB, free: 68.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.8268, allocations: 33.47 kB / 390.1 MB, free: 68.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/0.8268, allocations: 18.66 kB / 390.1 MB, free: 68.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008855/0.8277, allocations: 0.5436 MB / 390.6 MB, free: 68.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8277, allocations: 0 / 390.6 MB, free: 68.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001453/0.8292, allocations: 233.9 kB / 390.9 MB, free: 68.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002961/0.8322, allocations: 1.619 MB / 392.5 MB, free: 68.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.8334, allocations: 0.6949 MB / 393.2 MB, free: 67.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.8334, allocations: 7.188 kB / 393.2 MB, free: 67.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006963/0.8341, allocations: 0.57 MB / 393.8 MB, free: 67.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.835, allocations: 88.12 kB / 393.8 MB, free: 67.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.8382, allocations: 1.293 MB / 395.1 MB, free: 66.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.8388, allocations: 1.02 MB / 396.2 MB, free: 66.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.8393, allocations: 281.1 kB / 396.4 MB, free: 65.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.272e-06/0.8393, allocations: 0 / 396.4 MB, free: 65.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.06/3.899, allocations: 19.42 MB / 415.8 MB, free: 55.71 MB / 314.7 MB