Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Inverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.766e-05/4.778e-05, allocations: 4 kB / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2825, allocations: 38.78 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1794/0.4619, allocations: 93.64 MB / 357.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.4623, allocations: 75.95 kB / 357.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5887/1.051, allocations: 90.82 MB / 448.4 MB, free: 25.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.051, allocations: 4 kB / 448.4 MB, free: 25.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.25e-05/1.051, allocations: 24 kB / 448.4 MB, free: 25.09 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003554/1.055, allocations: 1.602 MB / 450 MB, free: 23.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.055, allocations: 12.03 kB / 450.1 MB, free: 23.42 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/1.055, allocations: 62.53 kB / 450.1 MB, free: 23.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/1.055, allocations: 193.7 kB / 450.3 MB, free: 23.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/1.058, allocations: 1.227 MB / 451.5 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/1.058, allocations: 24.52 kB / 451.6 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/1.058, allocations: 24 kB / 451.6 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/1.059, allocations: 438.5 kB / 452 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/1.059, allocations: 0 / 452 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/1.059, allocations: 16 kB / 452 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/1.059, allocations: 15.98 kB / 452 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008434/1.06, allocations: 373.3 kB / 452.4 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/1.064, allocations: 1.658 MB / 454.1 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006168/1.064, allocations: 279.2 kB / 454.3 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/1.065, allocations: 369.9 kB / 454.7 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02337/1.088, allocations: 18.19 MB / 472.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006118/1.089, allocations: 215.2 kB / 473.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 4.108e-06/1.089, allocations: 0 / 473.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001646/1.091, allocations: 496.2 kB / 473.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.091, allocations: 162.2 kB / 473.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/1.094, allocations: 1.209 MB / 474.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/1.094, allocations: 41.69 kB / 475 MB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009698/1.095, allocations: 0.7188 MB / 475.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/1.095, allocations: 102.6 kB / 475.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/1.095, allocations: 12 kB / 475.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/1.095, allocations: 322 kB / 476.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/1.096, allocations: 113.1 kB / 476.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005722/1.096, allocations: 330.7 kB / 476.6 MB, free: 9.914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/1.097, allocations: 149.3 kB / 476.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/1.097, allocations: 0 / 476.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001745/1.098, allocations: 0.6423 MB / 477.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/1.098, allocations: 8 kB / 477.4 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/1.099, allocations: 40 kB / 477.4 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004933/1.099, allocations: 132.8 kB / 477.5 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007967/1.1, allocations: 120 kB / 477.7 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009236/1.101, allocations: 0.6811 MB / 478.3 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.102, allocations: 83.5 kB / 478.4 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.252e-05/1.102, allocations: 39.98 kB / 478.5 MB, free: 7.996 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002367/1.102, allocations: 136.8 kB / 478.6 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/1.103, allocations: 185.8 kB / 478.8 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/1.105, allocations: 0.6763 MB / 479.4 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/1.105, allocations: 4 kB / 479.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.105, allocations: 0 / 479.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/1.105, allocations: 3.984 kB / 479.5 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/1.108, allocations: 1.246 MB / 480.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.215e-05/1.109, allocations: 35.98 kB / 480.7 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/1.109, allocations: 51.95 kB / 480.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/1.11, allocations: 132.8 kB / 480.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/1.11, allocations: 16 kB / 480.9 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008967/1.111, allocations: 0.6617 MB / 481.6 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.111, allocations: 3.938 kB / 481.6 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/1.112, allocations: 0.6453 MB / 482.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/1.113, allocations: 286.6 kB / 482.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/1.113, allocations: 11.98 kB / 482.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008954/1.114, allocations: 43.91 kB / 482.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/1.114, allocations: 43.94 kB / 482.6 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/1.114, allocations: 20 kB / 482.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002021/1.116, allocations: 0.9314 MB / 483.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.116, allocations: 0 / 483.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001581/1.118, allocations: 367.7 kB / 483.9 MB, free: 2.309 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003077/1.121, allocations: 1.847 MB / 485.8 MB, free: 432 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00127/1.122, allocations: 408.9 kB / 486.2 MB, free: 12 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.122, allocations: 0 / 486.2 MB, free: 12 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007225/1.123, allocations: 247.6 kB / 486.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/1.124, allocations: 238.9 kB / 486.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005216/1.13, allocations: 1.802 MB / 488.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009878/1.131, allocations: 1.187 MB / 489.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00102/1.132, allocations: 174.5 kB / 489.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009511/1.133, allocations: 0.5579 MB / 490.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/1.133, allocations: 0 / 490.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3551/1.488, allocations: 33.61 MB / 0.5117 GB, free: 75.53 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/1.488, allocations: 175.4 kB / 0.5119 GB, free: 75.3 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.025/5.513, allocations: 0 / 0.5119 GB, free: 75.3 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Inverter_res.mat does not exist to compare? outputFormat=mat