Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.166e-05/4.17e-05, allocations: 0 / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 50.41 MB / 343.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4784/0.5968, allocations: 104.5 MB / 447.6 MB, free: 5.652 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5971, allocations: 79.19 kB / 447.7 MB, free: 5.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8176/1.415, allocations: 143.2 MB / 0.577 GB, free: 100.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.854e-06/1.415, allocations: 0 / 0.577 GB, free: 100.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002526/1.415, allocations: 48.56 kB / 0.5771 GB, free: 100.4 MB / 442.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.007357/1.422, allocations: 2.792 MB / 0.5798 GB, free: 98.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.422, allocations: 8.969 kB / 0.5798 GB, free: 98.67 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003373/1.423, allocations: 94.92 kB / 0.5799 GB, free: 98.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008537/1.424, allocations: 414.9 kB / 0.5803 GB, free: 98.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006907/1.431, allocations: 2.412 MB / 0.5826 GB, free: 97.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/1.431, allocations: 38.16 kB / 0.5827 GB, free: 97.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/1.431, allocations: 51.47 kB / 0.5827 GB, free: 97.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/1.433, allocations: 0.7809 MB / 0.5835 GB, free: 96.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/1.433, allocations: 4 kB / 0.5835 GB, free: 96.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/1.433, allocations: 26.25 kB / 0.5835 GB, free: 96.85 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/1.433, allocations: 19.11 kB / 0.5835 GB, free: 96.85 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/1.435, allocations: 0.7022 MB / 0.5842 GB, free: 96.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009059/1.444, allocations: 3.281 MB / 0.5874 GB, free: 95.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/1.445, allocations: 482.1 kB / 0.5879 GB, free: 94.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/1.446, allocations: 0.5856 MB / 0.5885 GB, free: 94.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04842/1.494, allocations: 36.11 MB / 0.6237 GB, free: 59.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006908/1.495, allocations: 321.4 kB / 0.624 GB, free: 59.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 4.428e-06/1.495, allocations: 0 / 0.624 GB, free: 59.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.002044/1.497, allocations: 0.8054 MB / 0.6248 GB, free: 58.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/1.497, allocations: 269 kB / 0.6251 GB, free: 58.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005593/1.503, allocations: 2.662 MB / 0.6277 GB, free: 55.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002045/1.503, allocations: 33.7 kB / 0.6277 GB, free: 55.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00209/1.505, allocations: 1.583 MB / 0.6292 GB, free: 54.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/1.506, allocations: 169 kB / 0.6294 GB, free: 54.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/1.506, allocations: 16 kB / 0.6294 GB, free: 54.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.061e-05/1.506, allocations: 341.9 kB / 0.6297 GB, free: 53.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/1.506, allocations: 186 kB / 0.6299 GB, free: 53.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007325/1.507, allocations: 0.5955 MB / 0.6305 GB, free: 52.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/1.508, allocations: 276.1 kB / 0.6308 GB, free: 52.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/1.508, allocations: 8 kB / 0.6308 GB, free: 52.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002666/1.511, allocations: 1.104 MB / 0.6319 GB, free: 51.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/1.511, allocations: 15.94 kB / 0.6319 GB, free: 51.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/1.511, allocations: 83.98 kB / 0.6319 GB, free: 51.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-05/1.511, allocations: 20 kB / 0.632 GB, free: 51.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/1.512, allocations: 208.1 kB / 0.6322 GB, free: 51.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.362e-05/1.512, allocations: 31.92 kB / 0.6322 GB, free: 51.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/1.515, allocations: 126.4 kB / 0.6323 GB, free: 50.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/1.515, allocations: 71.94 kB / 0.6324 GB, free: 50.82 MB / 442.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.0002693/1.516, allocations: 172.3 kB / 0.6325 GB, free: 50.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008548/1.516, allocations: 399.1 kB / 0.6329 GB, free: 50.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004499/1.521, allocations: 1.145 MB / 0.634 GB, free: 49.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.521, allocations: 4 kB / 0.6341 GB, free: 49.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.521, allocations: 7.938 kB / 0.6341 GB, free: 49.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/1.521, allocations: 3.984 kB / 0.6341 GB, free: 49.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/1.526, allocations: 2.194 MB / 0.6362 GB, free: 46.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001413/1.527, allocations: 71.98 kB / 0.6363 GB, free: 46.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/1.528, allocations: 103.9 kB / 0.6364 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/1.528, allocations: 3.938 kB / 0.6364 GB, free: 46.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.042e-05/1.528, allocations: 35.98 kB / 0.6364 GB, free: 46.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/1.528, allocations: 4 kB / 0.6364 GB, free: 46.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.528, allocations: 3.953 kB / 0.6364 GB, free: 46.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/1.53, allocations: 1.224 MB / 0.6376 GB, free: 45.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/1.532, allocations: 0.5156 MB / 0.6381 GB, free: 44.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008423/1.533, allocations: 12 kB / 0.6381 GB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/1.535, allocations: 48.02 kB / 0.6382 GB, free: 44.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/1.535, allocations: 59.94 kB / 0.6382 GB, free: 44.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.535, allocations: 39.98 kB / 0.6383 GB, free: 44.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004313/1.539, allocations: 2.015 MB / 0.6402 GB, free: 42.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.539, allocations: 4 kB / 0.6402 GB, free: 42.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002639/1.542, allocations: 0.6634 MB / 0.6409 GB, free: 41.98 MB / 442.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.004379/1.546, allocations: 2.66 MB / 0.6435 GB, free: 39.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001631/1.548, allocations: 0.6913 MB / 0.6442 GB, free: 38.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.548, allocations: 4 kB / 0.6442 GB, free: 38.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007259/1.549, allocations: 391.6 kB / 0.6445 GB, free: 38.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004937/1.554, allocations: 0.6208 MB / 0.6451 GB, free: 37.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/1.565, allocations: 3.779 MB / 0.6488 GB, free: 33.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.566, allocations: 1.777 MB / 0.6506 GB, free: 32.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002311/1.568, allocations: 378.7 kB / 0.6509 GB, free: 31.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/1.57, allocations: 1.257 MB / 0.6522 GB, free: 30.44 MB / 442.7 MB Notification: Performance of SimCode: time 2.014e-06/1.571, allocations: 0 / 0.6522 GB, free: 30.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4796/2.05, allocations: 61.89 MB / 0.7126 GB, free: 102.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/2.05, allocations: 160.5 kB / 0.7128 GB, free: 102.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.118/8.169, allocations: 0 / 0.7128 GB, free: 102.1 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat does not exist to compare? outputFormat=mat