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.823/1.823, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.404e-05, allocations: 0 / 225.1 MB, free: 2.617 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2682, allocations: 38.77 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.4082, allocations: 77.9 MB / 341.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.4086, allocations: 67.97 kB / 341.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4006/0.8092, allocations: 36.99 MB / 378.8 MB, free: 80.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8093, allocations: 0 / 378.8 MB, free: 80.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.083e-05/0.8093, allocations: 14.5 kB / 378.8 MB, free: 80.34 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.002275/0.8116, allocations: 1.187 MB / 380 MB, free: 79.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.8117, allocations: 7.875 kB / 380 MB, free: 79.56 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.8118, allocations: 62.53 kB / 380.1 MB, free: 79.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.8121, allocations: 128.6 kB / 380.2 MB, free: 79.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.8136, allocations: 0.7276 MB / 380.9 MB, free: 79.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.8137, allocations: 20.91 kB / 380.9 MB, free: 79.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/0.8137, allocations: 19.34 kB / 381 MB, free: 79.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.8145, allocations: 294.5 kB / 381.3 MB, free: 79.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.8145, allocations: 5.812 kB / 381.3 MB, free: 79.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/0.8146, allocations: 11.91 kB / 381.3 MB, free: 79.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.8146, allocations: 5.281 kB / 381.3 MB, free: 79.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005351/0.8151, allocations: 202.6 kB / 381.5 MB, free: 79.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/0.8179, allocations: 1.182 MB / 382.7 MB, free: 78.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.8185, allocations: 225.6 kB / 382.9 MB, free: 78.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006671/0.8192, allocations: 290.4 kB / 383.2 MB, free: 78.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/0.821, allocations: 1.281 MB / 384.4 MB, free: 77.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.821, allocations: 36.69 kB / 384.5 MB, free: 77.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.376e-06/0.8211, allocations: 0 / 384.5 MB, free: 77.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.00333/0.8244, allocations: 1.248 MB / 385.7 MB, free: 76.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.8245, allocations: 110.3 kB / 385.8 MB, free: 76.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.8259, allocations: 0.7764 MB / 386.6 MB, free: 76.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.533e-05/0.826, allocations: 33.27 kB / 386.6 MB, free: 76.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.8263, allocations: 353.1 kB / 387 MB, free: 76.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.8265, allocations: 126 kB / 387.1 MB, free: 76.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.8265, allocations: 6.688 kB / 387.1 MB, free: 76.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.8266, allocations: 324.2 kB / 387.4 MB, free: 75.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.8269, allocations: 107.3 kB / 387.5 MB, free: 75.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.8272, allocations: 147.8 kB / 387.7 MB, free: 75.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.8276, allocations: 153.3 kB / 387.8 MB, free: 75.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8276, allocations: 3.062 kB / 387.8 MB, free: 75.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001137/0.8288, allocations: 438.9 kB / 388.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.8289, allocations: 40.05 kB / 388.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.817e-05/0.8289, allocations: 13.91 kB / 388.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003437/0.8293, allocations: 64.28 kB / 388.4 MB, free: 75.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.8297, allocations: 42.7 kB / 388.4 MB, free: 75.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.8324, allocations: 2.986 MB / 391.4 MB, free: 72.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007167/0.8332, allocations: 14.83 kB / 391.4 MB, free: 72.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/0.8333, allocations: 14.59 kB / 391.4 MB, free: 72.59 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.0001925/0.8335, allocations: 159.6 kB / 391.6 MB, free: 72.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.8337, allocations: 128.5 kB / 391.7 MB, free: 72.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.836, allocations: 0.6532 MB / 392.4 MB, free: 72.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.8361, allocations: 6.812 kB / 392.4 MB, free: 72.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8361, allocations: 3.312 kB / 392.4 MB, free: 72.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.8361, allocations: 0 / 392.4 MB, free: 72.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.8373, allocations: 0.6098 MB / 393 MB, free: 71.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.179e-05/0.8374, allocations: 16.16 kB / 393 MB, free: 71.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.8377, allocations: 37.58 kB / 393 MB, free: 71.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003186/0.8381, allocations: 70.33 kB / 393.1 MB, free: 71.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.8382, allocations: 18.98 kB / 393.1 MB, free: 71.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.8407, allocations: 2.993 MB / 396.1 MB, free: 68.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8408, allocations: 3.953 kB / 396.1 MB, free: 68.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.8426, allocations: 0.8075 MB / 396.9 MB, free: 68.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006266/0.8433, allocations: 281.8 kB / 397.2 MB, free: 68.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.8434, allocations: 6.938 kB / 397.2 MB, free: 68.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.844, allocations: 17.78 kB / 397.2 MB, free: 68.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.8441, allocations: 30.42 kB / 397.3 MB, free: 68.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/0.8442, allocations: 15.88 kB / 397.3 MB, free: 68.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001071/0.8453, allocations: 0.6119 MB / 397.9 MB, free: 67.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.8453, allocations: 0 / 397.9 MB, free: 67.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001445/0.8467, allocations: 254.4 kB / 398.1 MB, free: 67.79 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.002876/0.8496, allocations: 1.654 MB / 399.8 MB, free: 66.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.851, allocations: 0.7153 MB / 400.5 MB, free: 66.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.8511, allocations: 0 / 400.5 MB, free: 66.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000765/0.8519, allocations: 0.5896 MB / 401.1 MB, free: 65.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007592/0.8526, allocations: 85.33 kB / 401.2 MB, free: 65.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.856, allocations: 1.316 MB / 402.5 MB, free: 64.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.8565, allocations: 1.019 MB / 403.5 MB, free: 63.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.857, allocations: 271.8 kB / 403.8 MB, free: 63.42 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.857, allocations: 0 / 403.8 MB, free: 63.42 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.022/3.879, allocations: 19.39 MB / 423.2 MB, free: 46.47 MB / 314.7 MB