Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.119e-05, allocations: 4.391 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09824/0.09831, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.5439, allocations: 81.37 MB / 375.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.5442, allocations: 70.67 kB / 375.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1576/0.7019, allocations: 35.82 MB / 411.5 MB, free: 9.902 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.7019, allocations: 0 / 411.5 MB, free: 9.902 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.461e-05/0.702, allocations: 16 kB / 411.6 MB, free: 9.887 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.002733/0.7047, allocations: 1.185 MB / 412.7 MB, free: 8.715 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.7048, allocations: 12.03 kB / 412.8 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.7051, allocations: 130.4 kB / 412.9 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.7069, allocations: 0.7241 MB / 413.6 MB, free: 7.926 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.707, allocations: 8 kB / 413.6 MB, free: 7.918 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.541e-05/0.7071, allocations: 12 kB / 413.6 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006551/0.7078, allocations: 195.1 kB / 413.8 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.7085, allocations: 265.8 kB / 414.1 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.7085, allocations: 0 / 414.1 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.7086, allocations: 0 / 414.1 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.7086, allocations: 8 kB / 414.1 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.7119, allocations: 1.139 MB / 415.2 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.7125, allocations: 218.5 kB / 415.4 MB, free: 6.113 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007933/0.7133, allocations: 288.9 kB / 415.7 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002336/0.7157, allocations: 1.27 MB / 417 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.7158, allocations: 46.45 kB / 417 MB, free: 4.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 4.077e-06/0.7158, allocations: 0 / 417 MB, free: 4.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.004256/0.7201, allocations: 1.155 MB / 418.2 MB, free: 3.023 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.7202, allocations: 110.8 kB / 418.3 MB, free: 2.891 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.7217, allocations: 0.709 MB / 419 MB, free: 2.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.649e-05/0.7218, allocations: 25.7 kB / 419 MB, free: 2.145 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.7223, allocations: 361.6 kB / 419.4 MB, free: 1.789 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.7225, allocations: 126 kB / 419.5 MB, free: 1.664 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.7225, allocations: 0 / 419.5 MB, free: 1.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7227, allocations: 318 kB / 419.8 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.723, allocations: 104.3 kB / 419.9 MB, free: 1.242 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.7234, allocations: 130.8 kB / 420 MB, free: 1.105 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/0.724, allocations: 135.9 kB / 420.2 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7241, allocations: 4 kB / 420.2 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001659/0.7257, allocations: 473.8 kB / 420.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.594e-05/0.7258, allocations: 37.7 kB / 420.7 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.977e-05/0.7259, allocations: 15.98 kB / 420.7 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.7263, allocations: 65.69 kB / 420.8 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.7268, allocations: 39.91 kB / 420.8 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/0.7304, allocations: 2.898 MB / 423.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007328/0.7312, allocations: 8.094 kB / 423.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/0.7313, allocations: 23.98 kB / 423.7 MB, free: 13.16 MB / 330.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.0002305/0.7316, allocations: 142.7 kB / 423.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001711/0.7333, allocations: 0.5014 MB / 424.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.7336, allocations: 130.5 kB / 424.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.7362, allocations: 0.6014 MB / 425.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.7362, allocations: 4 kB / 425.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.7362, allocations: 7.984 kB / 425.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.7363, allocations: 0 / 425.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.7376, allocations: 0.5553 MB / 425.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.225e-05/0.7376, allocations: 15.98 kB / 425.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.7381, allocations: 31.97 kB / 425.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/0.7384, allocations: 69.69 kB / 425.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/0.7385, allocations: 15.94 kB / 425.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003452/0.742, allocations: 2.894 MB / 428.7 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.742, allocations: 4.031 kB / 428.7 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.7444, allocations: 0.7629 MB / 429.5 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007583/0.7452, allocations: 287.5 kB / 429.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.7454, allocations: 0 / 429.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/0.746, allocations: 8.125 kB / 429.8 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.7462, allocations: 31.95 kB / 429.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/0.7463, allocations: 27.92 kB / 429.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00129/0.7476, allocations: 0.5515 MB / 430.4 MB, free: 6.184 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.7476, allocations: 4.062 kB / 430.4 MB, free: 6.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001696/0.7493, allocations: 235.8 kB / 430.6 MB, free: 5.949 MB / 330.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.003731/0.7531, allocations: 1.625 MB / 432.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.7547, allocations: 0.7054 MB / 432.9 MB, free: 3.562 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.7547, allocations: 0 / 432.9 MB, free: 3.562 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.7557, allocations: 0.5796 MB / 433.5 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.7566, allocations: 80.8 kB / 433.6 MB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.7606, allocations: 1.23 MB / 434.8 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008059/0.7614, allocations: 1.03 MB / 435.8 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000512/0.762, allocations: 64.58 kB / 435.9 MB, free: 452 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/0.7625, allocations: 271.3 kB / 436.2 MB, free: 184 kB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7625, allocations: 0 / 436.2 MB, free: 184 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07595/0.8385, allocations: 14.55 MB / 450.7 MB, free: 1.676 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004483/0.839, allocations: 140.6 kB / 450.9 MB, free: 1.477 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.497/4.336, allocations: 3.938 kB / 450.9 MB, free: 1.473 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Spice3.Examples.Graetz_res.mat does not exist to compare? outputFormat=mat