Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.15e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.308, allocations: 44.49 MB / 294.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.4813, allocations: 96.79 MB / 391 MB, free: 1.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.4817, allocations: 75.95 kB / 391.1 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5241/1.006, allocations: 84.86 MB / 475.9 MB, free: 73.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.006, allocations: 0 / 475.9 MB, free: 73.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.362e-05/1.006, allocations: 24 kB / 476 MB, free: 73.24 MB / 362.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.003818/1.01, allocations: 1.614 MB / 477.6 MB, free: 71.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/1.01, allocations: 12.03 kB / 477.6 MB, free: 71.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003959/1.01, allocations: 193.7 kB / 477.8 MB, free: 71.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/1.013, allocations: 1.219 MB / 479 MB, free: 70.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/1.013, allocations: 8 kB / 479 MB, free: 70.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/1.013, allocations: 16 kB / 479 MB, free: 70.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008349/1.014, allocations: 361.3 kB / 479.4 MB, free: 69.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008196/1.015, allocations: 418.4 kB / 479.8 MB, free: 69.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/1.015, allocations: 0 / 479.8 MB, free: 69.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/1.015, allocations: 0 / 479.8 MB, free: 69.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/1.015, allocations: 15.98 kB / 479.8 MB, free: 69.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/1.019, allocations: 1.594 MB / 481.4 MB, free: 67.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/1.02, allocations: 265.9 kB / 481.7 MB, free: 67.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005972/1.02, allocations: 353.9 kB / 482 MB, free: 67.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0225/1.043, allocations: 18.18 MB / 0.4885 GB, free: 46.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004233/1.043, allocations: 203.2 kB / 0.4887 GB, free: 46.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.895e-06/1.043, allocations: 0 / 0.4887 GB, free: 46.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001086/1.044, allocations: 490.3 kB / 0.4891 GB, free: 45.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/1.045, allocations: 162.2 kB / 0.4893 GB, free: 45.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/1.046, allocations: 1.114 MB / 0.4904 GB, free: 44.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/1.046, allocations: 25.7 kB / 0.4904 GB, free: 44.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007176/1.047, allocations: 0.7305 MB / 0.4911 GB, free: 43.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.047, allocations: 86.75 kB / 0.4912 GB, free: 43.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/1.047, allocations: 0 / 0.4912 GB, free: 43.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/1.047, allocations: 326 kB / 0.4915 GB, free: 43.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/1.048, allocations: 97.12 kB / 0.4916 GB, free: 42.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/1.048, allocations: 322.7 kB / 0.4919 GB, free: 42.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/1.048, allocations: 148 kB / 0.492 GB, free: 42.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/1.048, allocations: 0 / 0.492 GB, free: 42.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001273/1.05, allocations: 0.5977 MB / 0.4926 GB, free: 41.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/1.05, allocations: 11.98 kB / 0.4926 GB, free: 41.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.93e-05/1.05, allocations: 40.06 kB / 0.4927 GB, free: 41.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003983/1.05, allocations: 132.8 kB / 0.4928 GB, free: 41.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/1.051, allocations: 115.8 kB / 0.4929 GB, free: 41.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000704/1.052, allocations: 0.6977 MB / 0.4936 GB, free: 40.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/1.053, allocations: 75.42 kB / 0.4937 GB, free: 40.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/1.053, allocations: 40.06 kB / 0.4937 GB, free: 40.69 MB / 362.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.0001741/1.053, allocations: 132.5 kB / 0.4938 GB, free: 40.55 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009573/1.054, allocations: 482.3 kB / 0.4943 GB, free: 40.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/1.054, allocations: 189.8 kB / 0.4945 GB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/1.057, allocations: 0.6609 MB / 0.4951 GB, free: 39.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.057, allocations: 4 kB / 0.4951 GB, free: 39.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/1.057, allocations: 0 / 0.4951 GB, free: 39.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.057, allocations: 0 / 0.4951 GB, free: 39.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/1.059, allocations: 1.166 MB / 0.4963 GB, free: 38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.88e-05/1.059, allocations: 40.05 kB / 0.4963 GB, free: 37.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/1.06, allocations: 59.89 kB / 0.4964 GB, free: 37.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003221/1.06, allocations: 132.8 kB / 0.4965 GB, free: 37.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/1.06, allocations: 12.06 kB / 0.4965 GB, free: 37.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006544/1.061, allocations: 0.6929 MB / 0.4972 GB, free: 37.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.061, allocations: 0 / 0.4972 GB, free: 37.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/1.062, allocations: 0.628 MB / 0.4978 GB, free: 36.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005731/1.062, allocations: 282.8 kB / 0.4981 GB, free: 36.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000338/1.063, allocations: 7.938 kB / 0.4981 GB, free: 36.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008401/1.064, allocations: 39.95 kB / 0.4981 GB, free: 36.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/1.064, allocations: 47.84 kB / 0.4981 GB, free: 35.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/1.064, allocations: 23.98 kB / 0.4982 GB, free: 35.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001363/1.065, allocations: 0.8328 MB / 0.499 GB, free: 35.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.065, allocations: 3.938 kB / 0.499 GB, free: 35.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001357/1.067, allocations: 339.6 kB / 0.4993 GB, free: 34.76 MB / 362.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.002472/1.069, allocations: 1.937 MB / 0.5012 GB, free: 32.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001086/1.07, allocations: 396.7 kB / 0.5016 GB, free: 32.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.07, allocations: 0 / 0.5016 GB, free: 32.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005767/1.071, allocations: 235.6 kB / 0.5018 GB, free: 32.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/1.072, allocations: 227 kB / 0.502 GB, free: 31.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/1.077, allocations: 1.776 MB / 0.5038 GB, free: 30.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/1.078, allocations: 1.18 MB / 0.5049 GB, free: 28.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009429/1.079, allocations: 182.5 kB / 0.5051 GB, free: 28.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007522/1.08, allocations: 0.55 MB / 0.5056 GB, free: 28.2 MB / 362.7 MB Notification: Performance of SimCode: time 9.71e-07/1.08, allocations: 0 / 0.5056 GB, free: 28.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09133/1.171, allocations: 29.1 MB / 0.534 GB, free: 15.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/1.171, allocations: 135.4 kB / 0.5342 GB, free: 14.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.992/5.163, allocations: 4 kB / 0.5342 GB, free: 14.9 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Inverter_res.mat does not exist to compare? outputFormat=mat