Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.224/2.224, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.079e-05, allocations: 4.734 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5307/0.6563, allocations: 73.98 MB / 368.3 MB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/0.6567, allocations: 68.67 kB / 368.3 MB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06596/0.7227, allocations: 8.678 MB / 377 MB, free: 21.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.7228, allocations: 3.875 kB / 377 MB, free: 21.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.74e-05/0.7228, allocations: 11.66 kB / 377 MB, free: 21.79 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002917/0.7258, allocations: 0.7548 MB / 377.8 MB, free: 21.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.7259, allocations: 11.75 kB / 377.8 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.7262, allocations: 70.16 kB / 377.9 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.7273, allocations: 365.6 kB / 378.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/0.7274, allocations: 19.47 kB / 378.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.7276, allocations: 27.12 kB / 378.3 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001836/0.7294, allocations: 379.7 kB / 378.6 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.7313, allocations: 443 kB / 379.1 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/0.7314, allocations: 0 / 379.1 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.7315, allocations: 7.859 kB / 379.1 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.7316, allocations: 11.62 kB / 379.1 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006935/0.7385, allocations: 1.968 MB / 381.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.7405, allocations: 0.5784 MB / 381.6 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.7418, allocations: 362.9 kB / 382 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.7419, allocations: 12.34 kB / 382 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.742, allocations: 41.81 kB / 382 MB, free: 19.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 6.171e-06/0.742, allocations: 0 / 382 MB, free: 19.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.005157/0.7472, allocations: 1.151 MB / 383.2 MB, free: 18.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.7473, allocations: 59.84 kB / 383.3 MB, free: 18.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007231/0.7481, allocations: 272.6 kB / 383.5 MB, free: 18.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.7482, allocations: 25.7 kB / 383.5 MB, free: 18.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.7485, allocations: 231.2 kB / 383.8 MB, free: 18.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.7488, allocations: 193.8 kB / 384 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.7489, allocations: 0 / 384 MB, free: 18.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002667/0.7492, allocations: 352.7 kB / 384.3 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/0.7499, allocations: 136.5 kB / 384.4 MB, free: 17.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007217/0.7507, allocations: 181.6 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.7514, allocations: 151.2 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.7514, allocations: 3.938 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002737/0.7542, allocations: 0.5701 MB / 385.3 MB, free: 17.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.7543, allocations: 3.969 kB / 385.3 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.7543, allocations: 0 / 385.3 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/0.7563, allocations: 245.7 kB / 385.6 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000968/0.7573, allocations: 66.05 kB / 385.6 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/0.7715, allocations: 6.533 MB / 392.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009013/0.7724, allocations: 11.7 kB / 392.2 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.344e-05/0.7726, allocations: 19.64 kB / 392.2 MB, free: 12.15 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: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002806/0.7729, allocations: 108.8 kB / 392.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002387/0.7753, allocations: 0.5459 MB / 392.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.7755, allocations: 50.64 kB / 392.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.7758, allocations: 61.39 kB / 393 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.7759, allocations: 3.906 kB / 393 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.7759, allocations: 3.812 kB / 393 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.7759, allocations: 0 / 393 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004641/0.7806, allocations: 1.174 MB / 394.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-06/0.7806, allocations: 0 / 394.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008792/0.7815, allocations: 66.08 kB / 394.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.7833, allocations: 241.6 kB / 394.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-05/0.7834, allocations: 0 / 394.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/0.7967, allocations: 6.537 MB / 401 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.7967, allocations: 0 / 401 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003324/0.8001, allocations: 0.9156 MB / 401.9 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004461/0.8006, allocations: 153.2 kB / 402.1 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.8008, allocations: 0 / 402.1 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007486/0.8015, allocations: 11.7 kB / 402.1 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/0.8018, allocations: 63.31 kB / 402.1 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/0.8019, allocations: 11.38 kB / 402.1 MB, free: 5.324 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004646/0.8024, allocations: 213 kB / 402.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.8024, allocations: 0 / 402.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002027/0.8045, allocations: 151.6 kB / 402.5 MB, free: 5.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003692/0.8082, allocations: 1.468 MB / 404 MB, free: 4.426 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.8104, allocations: 0.9237 MB / 404.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.8105, allocations: 0 / 404.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.8122, allocations: 0.7771 MB / 405.7 MB, free: 3.414 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.813, allocations: 50.98 kB / 405.7 MB, free: 3.406 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.817, allocations: 1.054 MB / 406.8 MB, free: 2.805 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/0.8177, allocations: 0.8961 MB / 407.7 MB, free: 2.004 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003352/0.8181, allocations: 43.17 kB / 407.7 MB, free: 1.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.8184, allocations: 172.1 kB / 407.9 MB, free: 1.961 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8184, allocations: 0 / 407.9 MB, free: 1.961 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0756/0.894, allocations: 10.8 MB / 418.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003701/0.8945, allocations: 140.5 kB / 418.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.677/4.572, allocations: 0 / 418.8 MB, free: 12.71 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat