Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.047/2.047, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.419e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3497, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.5414, allocations: 97.13 MB / 391.4 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.5418, allocations: 71.95 kB / 391.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6806/1.222, allocations: 121.9 MB / 0.5013 GB, free: 35.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.222, allocations: 0 / 0.5013 GB, free: 35.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.997e-05/1.223, allocations: 48 kB / 0.5013 GB, free: 35.26 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00676/1.229, allocations: 2.804 MB / 0.5041 GB, free: 32.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.229, allocations: 8.031 kB / 0.5041 GB, free: 32.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009273/1.23, allocations: 418.9 kB / 0.5045 GB, free: 31.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/1.237, allocations: 2.429 MB / 0.5068 GB, free: 29.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/1.237, allocations: 16 kB / 0.5069 GB, free: 29.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/1.237, allocations: 35.98 kB / 0.5069 GB, free: 29.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001517/1.238, allocations: 0.6861 MB / 0.5076 GB, free: 28.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/1.24, allocations: 0.7245 MB / 0.5083 GB, free: 27.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/1.24, allocations: 0 / 0.5083 GB, free: 27.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/1.24, allocations: 0 / 0.5083 GB, free: 27.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/1.24, allocations: 19.98 kB / 0.5083 GB, free: 27.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008381/1.248, allocations: 3.168 MB / 0.5114 GB, free: 24.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/1.25, allocations: 471.8 kB / 0.5118 GB, free: 24.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009395/1.25, allocations: 0.5809 MB / 0.5124 GB, free: 23.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06035/1.311, allocations: 36.18 MB / 0.5477 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007262/1.312, allocations: 321.2 kB / 0.548 GB, free: 14.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 3.587e-06/1.312, allocations: 4 kB / 0.548 GB, free: 14.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.002107/1.314, allocations: 0.7936 MB / 0.5488 GB, free: 13.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/1.314, allocations: 269 kB / 0.5491 GB, free: 12.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0054/1.319, allocations: 2.464 MB / 0.5515 GB, free: 10.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/1.32, allocations: 25.7 kB / 0.5515 GB, free: 10.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002223/1.322, allocations: 1.577 MB / 0.553 GB, free: 8.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/1.322, allocations: 169.6 kB / 0.5532 GB, free: 8.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/1.322, allocations: 0 / 0.5532 GB, free: 8.645 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/1.322, allocations: 338 kB / 0.5535 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/1.323, allocations: 178.6 kB / 0.5537 GB, free: 8.133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000802/1.324, allocations: 0.5785 MB / 0.5543 GB, free: 7.355 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007343/1.324, allocations: 264.2 kB / 0.5545 GB, free: 7.098 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/1.325, allocations: 4 kB / 0.5545 GB, free: 7.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002728/1.327, allocations: 1.053 MB / 0.5555 GB, free: 6.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/1.327, allocations: 8.969 kB / 0.5556 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002172/1.328, allocations: 79.98 kB / 0.5556 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.659e-05/1.328, allocations: 27.95 kB / 0.5557 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.329, allocations: 211.7 kB / 0.5559 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.181e-05/1.329, allocations: 23.88 kB / 0.5559 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/1.331, allocations: 114.9 kB / 0.556 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/1.331, allocations: 64 kB / 0.5561 GB, free: 5.512 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000283/1.332, allocations: 140.6 kB / 0.5562 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002079/1.334, allocations: 0.8051 MB / 0.557 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006459/1.335, allocations: 407.1 kB / 0.5574 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004625/1.339, allocations: 1.121 MB / 0.5585 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.339, allocations: 7.938 kB / 0.5585 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.339, allocations: 3.938 kB / 0.5585 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/1.339, allocations: 3.984 kB / 0.5585 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005176/1.344, allocations: 2.086 MB / 0.5605 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000197/1.345, allocations: 68 kB / 0.5606 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009301/1.346, allocations: 107.9 kB / 0.5607 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/1.346, allocations: 4 kB / 0.5607 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.702e-05/1.346, allocations: 28 kB / 0.5607 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/1.346, allocations: 3.984 kB / 0.5607 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/1.346, allocations: 3.984 kB / 0.5607 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2769/1.623, allocations: 1.21 MB / 0.5619 GB, free: 86.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.624, allocations: 0.5093 MB / 0.5624 GB, free: 86.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007655/1.625, allocations: 7.359 kB / 0.5624 GB, free: 86.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/1.627, allocations: 37.75 kB / 0.5624 GB, free: 86.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/1.627, allocations: 65.97 kB / 0.5625 GB, free: 86.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/1.627, allocations: 38.56 kB / 0.5625 GB, free: 86.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004606/1.632, allocations: 1.816 MB / 0.5643 GB, free: 86.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.632, allocations: 0 / 0.5643 GB, free: 86.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002776/1.635, allocations: 0.626 MB / 0.5649 GB, free: 86.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * 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 (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004817/1.639, allocations: 2.744 MB / 0.5676 GB, free: 85.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/1.641, allocations: 0.6678 MB / 0.5683 GB, free: 84.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.641, allocations: 0.6562 kB / 0.5683 GB, free: 84.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007832/1.642, allocations: 393.2 kB / 0.5686 GB, free: 84.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/1.645, allocations: 0.5063 MB / 0.5691 GB, free: 84.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009764/1.655, allocations: 3.773 MB / 0.5728 GB, free: 83.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.656, allocations: 1.785 MB / 0.5745 GB, free: 82.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002071/1.658, allocations: 379.8 kB / 0.5749 GB, free: 82.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001856/1.66, allocations: 1.256 MB / 0.5761 GB, free: 82.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/1.66, allocations: 2 kB / 0.5761 GB, free: 82.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.166/1.826, allocations: 56.18 MB / 0.631 GB, free: 58.91 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/1.826, allocations: 151.5 kB / 0.6311 GB, free: 58.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.862/7.688, allocations: 0 / 0.6311 GB, free: 58.71 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat does not exist to compare? outputFormat=mat