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.717/1.717, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.257e-05, allocations: 0 / 225.1 MB, free: 2.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2726, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.4108, allocations: 77.9 MB / 341.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.4112, allocations: 71.97 kB / 341.8 MB, free: 11.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3961/0.8073, allocations: 36.99 MB / 378.8 MB, free: 80.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.8074, allocations: 0 / 378.8 MB, free: 80.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.635e-05/0.8074, allocations: 12.41 kB / 378.8 MB, free: 80.41 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.002349/0.8098, allocations: 1.184 MB / 380 MB, free: 79.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.8098, allocations: 15.34 kB / 380 MB, free: 79.64 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.141e-05/0.8099, allocations: 53.72 kB / 380 MB, free: 79.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.8101, allocations: 130.8 kB / 380.2 MB, free: 79.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.8115, allocations: 0.7268 MB / 380.9 MB, free: 79.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.8116, allocations: 13.34 kB / 380.9 MB, free: 79.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.8117, allocations: 22.19 kB / 380.9 MB, free: 79.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.8124, allocations: 298.2 kB / 381.2 MB, free: 79.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.8124, allocations: 0 / 381.2 MB, free: 79.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.8125, allocations: 11.69 kB / 381.2 MB, free: 79.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.8125, allocations: 7.031 kB / 381.2 MB, free: 79.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/0.813, allocations: 208.4 kB / 381.4 MB, free: 79.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.8157, allocations: 1.184 MB / 382.6 MB, free: 78.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.8163, allocations: 228.8 kB / 382.9 MB, free: 78.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006749/0.8169, allocations: 294.8 kB / 383.1 MB, free: 78.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/0.8187, allocations: 1.284 MB / 384.4 MB, free: 77.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.8188, allocations: 39.5 kB / 384.5 MB, free: 77.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 4.268e-06/0.8188, allocations: 0 / 384.5 MB, free: 77.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.003278/0.8221, allocations: 1.235 MB / 385.7 MB, free: 76.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.8222, allocations: 117.4 kB / 385.8 MB, free: 76.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.8235, allocations: 0.7736 MB / 386.6 MB, free: 76.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.754e-05/0.8236, allocations: 30.39 kB / 386.6 MB, free: 76.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.8238, allocations: 355.1 kB / 387 MB, free: 76.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.824, allocations: 135 kB / 387.1 MB, free: 76.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.824, allocations: 3.812 kB / 387.1 MB, free: 76.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.998e-05/0.8241, allocations: 322.6 kB / 387.4 MB, free: 75.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.8244, allocations: 106.8 kB / 387.5 MB, free: 75.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.8247, allocations: 148.2 kB / 387.7 MB, free: 75.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.8251, allocations: 153.4 kB / 387.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8251, allocations: 3.516 kB / 387.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001106/0.8262, allocations: 440.7 kB / 388.2 MB, free: 75.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.8263, allocations: 34.02 kB / 388.3 MB, free: 75.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.852e-05/0.8264, allocations: 19.53 kB / 388.3 MB, free: 75.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/0.8267, allocations: 66.14 kB / 388.4 MB, free: 75.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.8271, allocations: 44.39 kB / 388.4 MB, free: 75.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.8297, allocations: 2.987 MB / 391.4 MB, free: 72.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.8304, allocations: 19.06 kB / 391.4 MB, free: 72.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/0.8305, allocations: 20.39 kB / 391.4 MB, free: 72.71 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.0001702/0.8307, allocations: 160.9 kB / 391.6 MB, free: 72.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.8309, allocations: 125.9 kB / 391.7 MB, free: 72.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.833, allocations: 0.6536 MB / 392.4 MB, free: 72.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.833, allocations: 2.594 kB / 392.4 MB, free: 72.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.833, allocations: 0 / 392.4 MB, free: 72.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.833, allocations: 10.89 kB / 392.4 MB, free: 72.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.834, allocations: 0.6048 MB / 393 MB, free: 71.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-05/0.8341, allocations: 20.83 kB / 393 MB, free: 71.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.8344, allocations: 35.8 kB / 393 MB, free: 71.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/0.8347, allocations: 68.73 kB / 393.1 MB, free: 71.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/0.8348, allocations: 20.8 kB / 393.1 MB, free: 71.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.8373, allocations: 2.982 MB / 396.1 MB, free: 68.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.8373, allocations: 3.953 kB / 396.1 MB, free: 68.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.8391, allocations: 0.8018 MB / 396.9 MB, free: 68.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/0.8397, allocations: 289.6 kB / 397.2 MB, free: 68.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.8398, allocations: 7.219 kB / 397.2 MB, free: 68.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/0.8403, allocations: 13.91 kB / 397.2 MB, free: 68.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.8405, allocations: 29.92 kB / 397.2 MB, free: 68.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.8405, allocations: 22.25 kB / 397.3 MB, free: 68.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001066/0.8416, allocations: 0.6086 MB / 397.9 MB, free: 67.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8416, allocations: 0 / 397.9 MB, free: 67.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001271/0.8429, allocations: 256.9 kB / 398.1 MB, free: 67.9 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.002716/0.8456, allocations: 1.658 MB / 399.8 MB, free: 66.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.847, allocations: 0.7278 MB / 400.5 MB, free: 66.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.847, allocations: 0 / 400.5 MB, free: 66.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007563/0.8478, allocations: 0.6092 MB / 401.1 MB, free: 65.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.8485, allocations: 84.55 kB / 401.2 MB, free: 65.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.8516, allocations: 1.312 MB / 402.5 MB, free: 64.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.8522, allocations: 1.021 MB / 403.5 MB, free: 63.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/0.8526, allocations: 275.4 kB / 403.8 MB, free: 63.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.382e-06/0.8526, allocations: 0 / 403.8 MB, free: 63.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.976/3.828, allocations: 19.41 MB / 423.2 MB, free: 46.56 MB / 314.7 MB