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.869/1.869, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.286e-05, allocations: 7.094 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1248, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4439/0.5687, allocations: 97.81 MB / 397.8 MB, free: 16.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.569, allocations: 73.45 kB / 397.8 MB, free: 16.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4416/1.011, allocations: 127.2 MB / 0.5127 GB, free: 8.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.045e-06/1.011, allocations: 0 / 0.5127 GB, free: 8.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001007/1.011, allocations: 48 kB / 0.5128 GB, free: 7.992 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.008475/1.019, allocations: 2.795 MB / 0.5155 GB, free: 5.145 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/1.019, allocations: 8.031 kB / 0.5155 GB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003934/1.02, allocations: 102.5 kB / 0.5156 GB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000996/1.021, allocations: 414.9 kB / 0.516 GB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007923/1.029, allocations: 2.433 MB / 0.5184 GB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/1.029, allocations: 37 kB / 0.5184 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/1.029, allocations: 52 kB / 0.5185 GB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/1.031, allocations: 0.7774 MB / 0.5192 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/1.031, allocations: 0 / 0.5192 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/1.032, allocations: 27.92 kB / 0.5192 GB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/1.032, allocations: 27.98 kB / 0.5193 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/1.034, allocations: 0.7014 MB / 0.52 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3067/1.34, allocations: 3.284 MB / 0.5232 GB, free: 77.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/1.342, allocations: 490.2 kB / 0.5236 GB, free: 77.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/1.343, allocations: 0.5849 MB / 0.5242 GB, free: 77.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0522/1.396, allocations: 36.21 MB / 0.5596 GB, free: 51.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007289/1.396, allocations: 320.6 kB / 0.5599 GB, free: 51.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 5.32e-06/1.396, allocations: 3.219 kB / 0.5599 GB, free: 51.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002187/1.399, allocations: 0.8156 MB / 0.5607 GB, free: 51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.399, allocations: 271.4 kB / 0.5609 GB, free: 50.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005995/1.405, allocations: 2.663 MB / 0.5635 GB, free: 50.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001768/1.405, allocations: 38.89 kB / 0.5636 GB, free: 50.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001851/1.407, allocations: 1.581 MB / 0.5651 GB, free: 50.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/1.407, allocations: 169.4 kB / 0.5653 GB, free: 50.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/1.407, allocations: 14.44 kB / 0.5653 GB, free: 50.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.791e-05/1.407, allocations: 339.2 kB / 0.5656 GB, free: 49.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/1.408, allocations: 193.1 kB / 0.5658 GB, free: 49.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/1.409, allocations: 0.5921 MB / 0.5664 GB, free: 49.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006962/1.41, allocations: 282 kB / 0.5666 GB, free: 49.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.41, allocations: 5.344 kB / 0.5666 GB, free: 49.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002709/1.412, allocations: 1.105 MB / 0.5677 GB, free: 48.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/1.412, allocations: 9.531 kB / 0.5677 GB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001667/1.413, allocations: 90.53 kB / 0.5678 GB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-05/1.413, allocations: 18.94 kB / 0.5678 GB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.414, allocations: 213 kB / 0.568 GB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-05/1.414, allocations: 31.88 kB / 0.5681 GB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/1.416, allocations: 124.1 kB / 0.5682 GB, free: 48.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/1.417, allocations: 66.06 kB / 0.5683 GB, free: 48.96 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.000276/1.417, allocations: 159.5 kB / 0.5684 GB, free: 48.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008472/1.418, allocations: 408 kB / 0.5688 GB, free: 48.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/1.422, allocations: 1.168 MB / 0.5699 GB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/1.423, allocations: 7.922 kB / 0.5699 GB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.423, allocations: 0 / 0.5699 GB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.423, allocations: 1.125 kB / 0.5699 GB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006078/1.429, allocations: 2.199 MB / 0.5721 GB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001458/1.429, allocations: 74.25 kB / 0.5722 GB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000945/1.43, allocations: 101.6 kB / 0.5723 GB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/1.43, allocations: 0 / 0.5723 GB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/1.43, allocations: 35.7 kB / 0.5723 GB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.407e-06/1.43, allocations: 6.312 kB / 0.5723 GB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.43, allocations: 0.9375 kB / 0.5723 GB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/1.433, allocations: 1.231 MB / 0.5735 GB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.434, allocations: 0.517 MB / 0.574 GB, free: 47.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008903/1.435, allocations: 17.77 kB / 0.574 GB, free: 47.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.437, allocations: 43.12 kB / 0.5741 GB, free: 47.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/1.438, allocations: 56.61 kB / 0.5741 GB, free: 47.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.438, allocations: 40.16 kB / 0.5742 GB, free: 47.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005062/1.443, allocations: 2.031 MB / 0.5761 GB, free: 47.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.443, allocations: 3.344 kB / 0.5761 GB, free: 47.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002817/1.446, allocations: 0.6647 MB / 0.5768 GB, free: 47.21 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.004883/1.451, allocations: 2.677 MB / 0.5794 GB, free: 46.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001862/1.453, allocations: 0.6946 MB / 0.5801 GB, free: 46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.453, allocations: 3.25 kB / 0.5801 GB, free: 46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008019/1.453, allocations: 393.2 kB / 0.5805 GB, free: 45.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/1.457, allocations: 0.5154 MB / 0.581 GB, free: 45.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.469, allocations: 3.795 MB / 0.5847 GB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/1.47, allocations: 1.781 MB / 0.5864 GB, free: 44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002526/1.473, allocations: 384.1 kB / 0.5868 GB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002181/1.475, allocations: 1.265 MB / 0.588 GB, free: 43.96 MB / 410.7 MB Notification: Performance of SimCode: time 3.015e-06/1.475, allocations: 0 / 0.588 GB, free: 43.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1942/1.669, allocations: 62.13 MB / 0.6487 GB, free: 10.09 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/1.669, allocations: 164.2 kB / 0.6488 GB, free: 9.859 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.561/8.23, allocations: 4 kB / 0.6488 GB, free: 9.855 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