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 1.993/1.993, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.332e-05, allocations: 4 kB / 255.4 MB, free: 2.648 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09675, allocations: 44.51 MB / 300 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5166/0.6134, allocations: 97.79 MB / 397.7 MB, free: 12.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.6138, allocations: 75.44 kB / 397.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4554/1.069, allocations: 127.2 MB / 0.5127 GB, free: 6.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/1.069, allocations: 0 / 0.5127 GB, free: 6.215 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001066/1.069, allocations: 48 kB / 0.5127 GB, free: 6.168 MB / 410.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.008339/1.078, allocations: 2.804 MB / 0.5155 GB, free: 3.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/1.078, allocations: 12.03 kB / 0.5155 GB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003824/1.078, allocations: 90.52 kB / 0.5156 GB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/1.079, allocations: 418.9 kB / 0.516 GB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007705/1.087, allocations: 2.437 MB / 0.5183 GB, free: 284 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/1.087, allocations: 37 kB / 0.5184 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000273/1.087, allocations: 51.98 kB / 0.5184 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3317/1.419, allocations: 0.7853 MB / 0.5192 GB, free: 78.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/1.419, allocations: 0 / 0.5192 GB, free: 78.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/1.419, allocations: 23.47 kB / 0.5192 GB, free: 78.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/1.419, allocations: 17.45 kB / 0.5192 GB, free: 78.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/1.421, allocations: 0.7121 MB / 0.5199 GB, free: 78.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/1.432, allocations: 3.292 MB / 0.5231 GB, free: 78.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/1.433, allocations: 493.8 kB / 0.5236 GB, free: 77.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/1.434, allocations: 0.589 MB / 0.5242 GB, free: 77.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04939/1.484, allocations: 36.21 MB / 0.5596 GB, free: 51.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007048/1.484, allocations: 320.9 kB / 0.5599 GB, free: 51.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 4.158e-06/1.485, allocations: 0 / 0.5599 GB, free: 51.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002142/1.487, allocations: 0.8176 MB / 0.5607 GB, free: 51.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.487, allocations: 268.6 kB / 0.5609 GB, free: 51.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005586/1.492, allocations: 2.668 MB / 0.5635 GB, free: 50.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001645/1.493, allocations: 35.86 kB / 0.5636 GB, free: 50.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/1.495, allocations: 1.583 MB / 0.5651 GB, free: 50.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/1.495, allocations: 167.9 kB / 0.5653 GB, free: 50.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-05/1.495, allocations: 17.56 kB / 0.5653 GB, free: 50.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.941e-05/1.495, allocations: 342.5 kB / 0.5656 GB, free: 50.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/1.496, allocations: 190.8 kB / 0.5658 GB, free: 50.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/1.496, allocations: 0.5926 MB / 0.5664 GB, free: 49.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/1.497, allocations: 278.4 kB / 0.5666 GB, free: 49.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/1.497, allocations: 7.125 kB / 0.5666 GB, free: 49.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00249/1.5, allocations: 1.145 MB / 0.5678 GB, free: 49.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/1.5, allocations: 13.66 kB / 0.5678 GB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/1.5, allocations: 81.39 kB / 0.5678 GB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.711e-05/1.5, allocations: 18.03 kB / 0.5679 GB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.501, allocations: 215.6 kB / 0.5681 GB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.922e-05/1.501, allocations: 30.22 kB / 0.5681 GB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/1.504, allocations: 129.8 kB / 0.5682 GB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/1.504, allocations: 63.44 kB / 0.5683 GB, free: 49.29 MB / 410.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.0002691/1.504, allocations: 176.5 kB / 0.5685 GB, free: 49.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007576/1.505, allocations: 402 kB / 0.5688 GB, free: 48.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004687/1.51, allocations: 1.171 MB / 0.57 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/1.51, allocations: 3.5 kB / 0.57 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.51, allocations: 0 / 0.57 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.51, allocations: 0 / 0.57 GB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005732/1.516, allocations: 2.198 MB / 0.5721 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001417/1.516, allocations: 69.45 kB / 0.5722 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009203/1.517, allocations: 105.1 kB / 0.5723 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/1.517, allocations: 0 / 0.5723 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.517, allocations: 35.42 kB / 0.5723 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/1.517, allocations: 3.5 kB / 0.5723 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.517, allocations: 0 / 0.5723 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/1.519, allocations: 1.241 MB / 0.5735 GB, free: 48.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.521, allocations: 0.5142 MB / 0.574 GB, free: 47.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008718/1.522, allocations: 10.31 kB / 0.5741 GB, free: 47.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/1.524, allocations: 51.03 kB / 0.5741 GB, free: 47.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/1.524, allocations: 65.16 kB / 0.5742 GB, free: 47.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/1.524, allocations: 41.62 kB / 0.5742 GB, free: 47.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00491/1.529, allocations: 2.025 MB / 0.5762 GB, free: 47.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.529, allocations: 0 / 0.5762 GB, free: 47.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002666/1.532, allocations: 0.6671 MB / 0.5768 GB, free: 47.52 MB / 410.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.004626/1.537, allocations: 2.668 MB / 0.5794 GB, free: 46.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001757/1.538, allocations: 0.71 MB / 0.5801 GB, free: 46.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.538, allocations: 3.844 kB / 0.5801 GB, free: 46.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007587/1.539, allocations: 395.9 kB / 0.5805 GB, free: 46.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/1.542, allocations: 0.5167 MB / 0.581 GB, free: 46.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/1.553, allocations: 3.812 MB / 0.5847 GB, free: 45.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/1.555, allocations: 1.781 MB / 0.5865 GB, free: 44.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002397/1.557, allocations: 380.6 kB / 0.5868 GB, free: 44.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002058/1.559, allocations: 1.256 MB / 0.5881 GB, free: 44.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/1.56, allocations: 0 / 0.5881 GB, free: 44.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1502/1.71, allocations: 62.16 MB / 0.6488 GB, free: 8.93 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/1.71, allocations: 169.5 kB / 0.6489 GB, free: 8.699 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.051/7.761, allocations: 0 / 0.6489 GB, free: 8.699 MB / 410.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