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.779/1.779, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.165e-05, allocations: 4 kB / 225.1 MB, free: 2.133 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3194, allocations: 38.77 MB / 263.9 MB, free: 9.684 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.4876, allocations: 93.64 MB / 357.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.4879, allocations: 67.97 kB / 357.6 MB, free: 11.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5993/1.087, allocations: 90.83 MB / 448.4 MB, free: 24.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.943e-06/1.087, allocations: 0 / 448.4 MB, free: 24.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.333e-05/1.087, allocations: 24 kB / 448.4 MB, free: 24.89 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.004959/1.092, allocations: 1.602 MB / 450 MB, free: 23.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/1.092, allocations: 12.03 kB / 450 MB, free: 23.23 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/1.093, allocations: 66.53 kB / 450.1 MB, free: 23.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004531/1.093, allocations: 197.7 kB / 450.3 MB, free: 22.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/1.097, allocations: 1.215 MB / 451.5 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/1.097, allocations: 24.52 kB / 451.5 MB, free: 21.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/1.097, allocations: 27.98 kB / 451.6 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/1.098, allocations: 447.6 kB / 452 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/1.099, allocations: 0 / 452 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.099, allocations: 12 kB / 452 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/1.099, allocations: 8 kB / 452 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/1.1, allocations: 378.4 kB / 452.4 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005578/1.106, allocations: 1.662 MB / 454 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009181/1.107, allocations: 275.5 kB / 454.3 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009596/1.107, allocations: 369.9 kB / 454.7 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03195/1.139, allocations: 18.19 MB / 472.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/1.14, allocations: 215.2 kB / 473.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.016e-06/1.14, allocations: 0 / 473.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001368/1.141, allocations: 496.2 kB / 473.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/1.142, allocations: 158.2 kB / 473.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/1.144, allocations: 1.216 MB / 474.9 MB, free: 11.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.384e-05/1.144, allocations: 33.7 kB / 475 MB, free: 11.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009778/1.145, allocations: 0.7266 MB / 475.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/1.145, allocations: 94.64 kB / 475.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/1.145, allocations: 12 kB / 475.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/1.146, allocations: 322 kB / 476.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/1.146, allocations: 105.1 kB / 476.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/1.146, allocations: 335.8 kB / 476.5 MB, free: 9.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/1.147, allocations: 157.2 kB / 476.7 MB, free: 9.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/1.147, allocations: 4 kB / 476.7 MB, free: 9.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001729/1.149, allocations: 0.6498 MB / 477.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.149, allocations: 8 kB / 477.4 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/1.149, allocations: 40 kB / 477.4 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/1.149, allocations: 141.1 kB / 477.5 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/1.15, allocations: 119.8 kB / 477.7 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009239/1.151, allocations: 0.6811 MB / 478.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.152, allocations: 87.5 kB / 478.4 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.819e-05/1.152, allocations: 32 kB / 478.5 MB, free: 7.773 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.0002099/1.153, allocations: 140.8 kB / 478.6 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/1.153, allocations: 189.8 kB / 478.8 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/1.156, allocations: 0.6724 MB / 479.4 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/1.156, allocations: 4 kB / 479.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.156, allocations: 0 / 479.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.156, allocations: 0 / 479.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/1.159, allocations: 1.242 MB / 480.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.012e-05/1.159, allocations: 36 kB / 480.7 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/1.159, allocations: 59.94 kB / 480.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003949/1.16, allocations: 124.9 kB / 480.9 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/1.16, allocations: 16 kB / 480.9 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000842/1.161, allocations: 0.6733 MB / 481.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.161, allocations: 0 / 481.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/1.162, allocations: 0.6491 MB / 482.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006453/1.163, allocations: 290.6 kB / 482.5 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/1.163, allocations: 8 kB / 482.5 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/1.164, allocations: 47.89 kB / 482.6 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/1.164, allocations: 39.95 kB / 482.6 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.757e-05/1.164, allocations: 19.98 kB / 482.6 MB, free: 3.395 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001979/1.166, allocations: 0.9314 MB / 483.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.166, allocations: 0 / 483.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001524/1.168, allocations: 367.7 kB / 483.9 MB, free: 2.078 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.00305/1.171, allocations: 1.858 MB / 485.8 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/1.172, allocations: 424.8 kB / 486.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.172, allocations: 0 / 486.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000657/1.173, allocations: 239.3 kB / 486.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.174, allocations: 235.3 kB / 486.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/1.179, allocations: 1.807 MB / 488.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000973/1.18, allocations: 1.187 MB / 489.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009735/1.181, allocations: 174.5 kB / 489.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000954/1.182, allocations: 0.5539 MB / 490.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/1.182, allocations: 0 / 490.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3855/1.568, allocations: 33.63 MB / 0.5117 GB, free: 75.53 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/1.568, allocations: 175.6 kB / 0.5119 GB, free: 75.31 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.072/5.64, allocations: 0 / 0.5119 GB, free: 75.31 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