Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.707/1.707, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.883e-05/4.896e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2783, allocations: 38.76 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.4213, allocations: 77.9 MB / 341.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.4217, allocations: 75.97 kB / 341.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3813/0.8029, allocations: 36.98 MB / 378.8 MB, free: 80.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.803, allocations: 0 / 378.8 MB, free: 80.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.635e-05/0.803, allocations: 15.09 kB / 378.8 MB, free: 80.55 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.002248/0.8053, allocations: 1.187 MB / 380 MB, free: 79.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.8054, allocations: 11.53 kB / 380 MB, free: 79.77 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.589e-05/0.8055, allocations: 55.72 kB / 380.1 MB, free: 79.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.8057, allocations: 131.5 kB / 380.2 MB, free: 79.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.8073, allocations: 0.7261 MB / 380.9 MB, free: 79.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.8073, allocations: 19.56 kB / 381 MB, free: 79.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.581e-05/0.8074, allocations: 20.34 kB / 381 MB, free: 79.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006691/0.8081, allocations: 295.9 kB / 381.3 MB, free: 79.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.8081, allocations: 0 / 381.3 MB, free: 79.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.8082, allocations: 9.188 kB / 381.3 MB, free: 79.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.8082, allocations: 3.875 kB / 381.3 MB, free: 79.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.8087, allocations: 213.7 kB / 381.5 MB, free: 79.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.8114, allocations: 1.179 MB / 382.7 MB, free: 78.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.812, allocations: 224.1 kB / 382.9 MB, free: 78.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006394/0.8127, allocations: 292.9 kB / 383.2 MB, free: 78.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001769/0.8145, allocations: 1.279 MB / 384.5 MB, free: 77.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.8145, allocations: 38.03 kB / 384.5 MB, free: 77.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.216e-06/0.8145, allocations: 3.938 kB / 384.5 MB, free: 77.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.003148/0.8177, allocations: 1.246 MB / 385.7 MB, free: 76.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.8178, allocations: 111.8 kB / 385.9 MB, free: 76.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.8191, allocations: 0.771 MB / 386.6 MB, free: 76.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.8191, allocations: 31.64 kB / 386.7 MB, free: 76.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.8195, allocations: 364.9 kB / 387 MB, free: 76.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.8196, allocations: 129 kB / 387.1 MB, free: 76.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.8196, allocations: 8.562 kB / 387.1 MB, free: 76.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.8197, allocations: 319.1 kB / 387.5 MB, free: 76.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.82, allocations: 105.8 kB / 387.6 MB, free: 76.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.8203, allocations: 142 kB / 387.7 MB, free: 76.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.8206, allocations: 153.5 kB / 387.9 MB, free: 75.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8207, allocations: 4.562 kB / 387.9 MB, free: 75.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001227/0.8219, allocations: 0.5 MB / 388.4 MB, free: 75.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/0.822, allocations: 44.92 kB / 388.4 MB, free: 75.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.201e-05/0.822, allocations: 14.28 kB / 388.4 MB, free: 75.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.8224, allocations: 72.31 kB / 388.5 MB, free: 75.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.8227, allocations: 41.97 kB / 388.5 MB, free: 75.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.8252, allocations: 2.979 MB / 391.5 MB, free: 72.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006935/0.826, allocations: 14.5 kB / 391.5 MB, free: 72.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.807e-05/0.8261, allocations: 24.97 kB / 391.5 MB, free: 72.78 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.0001698/0.8262, allocations: 150.8 kB / 391.7 MB, free: 72.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.8264, allocations: 129 kB / 391.8 MB, free: 72.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.8285, allocations: 0.6436 MB / 392.5 MB, free: 72.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.8285, allocations: 11.48 kB / 392.5 MB, free: 72.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.8285, allocations: 3.406 kB / 392.5 MB, free: 72.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.8285, allocations: 3.516 kB / 392.5 MB, free: 72.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.8296, allocations: 0.614 MB / 393.1 MB, free: 71.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/0.8297, allocations: 14.47 kB / 393.1 MB, free: 71.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.8301, allocations: 34.83 kB / 393.1 MB, free: 71.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003046/0.8304, allocations: 72.72 kB / 393.2 MB, free: 71.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/0.8305, allocations: 25.03 kB / 393.2 MB, free: 71.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/0.8329, allocations: 2.986 MB / 396.2 MB, free: 68.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.833, allocations: 3.953 kB / 396.2 MB, free: 68.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.8348, allocations: 0.8029 MB / 397 MB, free: 68.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/0.8354, allocations: 283.9 kB / 397.3 MB, free: 68.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.8356, allocations: 15.12 kB / 397.3 MB, free: 68.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/0.8361, allocations: 18.2 kB / 397.3 MB, free: 68.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.8362, allocations: 26.78 kB / 397.4 MB, free: 68.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.855e-05/0.8363, allocations: 23.58 kB / 397.4 MB, free: 68.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001004/0.8373, allocations: 0.6044 MB / 398 MB, free: 68.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.8373, allocations: 0 / 398 MB, free: 68.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00143/0.8388, allocations: 258 kB / 398.2 MB, free: 67.96 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.002759/0.8415, allocations: 1.647 MB / 399.9 MB, free: 66.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.8429, allocations: 0.7176 MB / 400.6 MB, free: 66.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8429, allocations: 0 / 400.6 MB, free: 66.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007429/0.8437, allocations: 0.5871 MB / 401.2 MB, free: 65.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.8444, allocations: 92.33 kB / 401.3 MB, free: 65.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.8477, allocations: 1.272 MB / 402.6 MB, free: 64.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.8482, allocations: 1.027 MB / 403.6 MB, free: 63.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004343/0.8486, allocations: 59.64 kB / 403.6 MB, free: 63.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.849, allocations: 270.8 kB / 403.9 MB, free: 63.51 MB / 314.7 MB Notification: Performance of SimCode: time 1.954e-06/0.8491, allocations: 0 / 403.9 MB, free: 63.51 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05326/0.9023, allocations: 17.12 MB / 421 MB, free: 48.86 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.9026, allocations: 167.2 kB / 421.2 MB, free: 48.64 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/4.042, allocations: 3.938 kB / 421.2 MB, free: 48.63 MB / 314.7 MB