Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.569e-05, allocations: 6.25 kB / 269.4 MB, free: 6.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 47.58 MB / 317 MB, free: 6.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.444/0.5453, allocations: 102.2 MB / 419.2 MB, free: 2.051 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.5457, allocations: 71.45 kB / 419.3 MB, free: 2.016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7372/1.283, allocations: 127.3 MB / 0.5338 GB, free: 95.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.916e-06/1.283, allocations: 0 / 0.5338 GB, free: 95.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001892/1.283, allocations: 46.91 kB / 0.5339 GB, free: 95.27 MB / 426.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.006616/1.29, allocations: 2.806 MB / 0.5366 GB, free: 93.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.29, allocations: 7.781 kB / 0.5366 GB, free: 93.78 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002974/1.29, allocations: 98.86 kB / 0.5367 GB, free: 93.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/1.291, allocations: 419.9 kB / 0.5371 GB, free: 93.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006085/1.297, allocations: 2.43 MB / 0.5395 GB, free: 92.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/1.297, allocations: 42.16 kB / 0.5395 GB, free: 92.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/1.297, allocations: 60.69 kB / 0.5396 GB, free: 92.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/1.299, allocations: 0.7819 MB / 0.5403 GB, free: 92.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/1.299, allocations: 0 / 0.5403 GB, free: 92.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/1.299, allocations: 25.53 kB / 0.5404 GB, free: 92.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/1.299, allocations: 26.27 kB / 0.5404 GB, free: 92.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/1.301, allocations: 0.7047 MB / 0.5411 GB, free: 92.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/1.311, allocations: 3.267 MB / 0.5443 GB, free: 92.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/1.313, allocations: 488.7 kB / 0.5447 GB, free: 92.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/1.314, allocations: 0.5973 MB / 0.5453 GB, free: 92.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06409/1.378, allocations: 36.21 MB / 0.5807 GB, free: 65.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000956/1.379, allocations: 318 kB / 0.581 GB, free: 65.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 5.069e-06/1.379, allocations: 0 / 0.581 GB, free: 65.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.002704/1.382, allocations: 0.8213 MB / 0.5818 GB, free: 65.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.382, allocations: 267.7 kB / 0.582 GB, free: 65.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005821/1.388, allocations: 2.667 MB / 0.5846 GB, free: 64.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/1.388, allocations: 40.11 kB / 0.5847 GB, free: 64.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001863/1.39, allocations: 1.58 MB / 0.5862 GB, free: 63.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/1.391, allocations: 170.6 kB / 0.5864 GB, free: 63.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/1.391, allocations: 12 kB / 0.5864 GB, free: 63.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/1.391, allocations: 335.4 kB / 0.5867 GB, free: 63.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/1.391, allocations: 192.5 kB / 0.5869 GB, free: 63.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007209/1.392, allocations: 0.5931 MB / 0.5875 GB, free: 62.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/1.393, allocations: 285.8 kB / 0.5878 GB, free: 62.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.393, allocations: 3.844 kB / 0.5878 GB, free: 62.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002505/1.395, allocations: 1.11 MB / 0.5888 GB, free: 62.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.395, allocations: 11.72 kB / 0.5888 GB, free: 62.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/1.395, allocations: 79.95 kB / 0.5889 GB, free: 62.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.1e-05/1.395, allocations: 19.19 kB / 0.5889 GB, free: 62.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/1.397, allocations: 217.9 kB / 0.5892 GB, free: 62.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.981e-05/1.397, allocations: 35.75 kB / 0.5892 GB, free: 62.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/1.399, allocations: 132.1 kB / 0.5893 GB, free: 62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/1.399, allocations: 64.34 kB / 0.5894 GB, free: 61.99 MB / 426.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.0002414/1.399, allocations: 162 kB / 0.5895 GB, free: 61.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005032/1.4, allocations: 408 kB / 0.5899 GB, free: 61.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004306/1.404, allocations: 1.158 MB / 0.591 GB, free: 61.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.404, allocations: 3.969 kB / 0.5911 GB, free: 61.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.404, allocations: 0 / 0.5911 GB, free: 61.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/1.404, allocations: 11.77 kB / 0.5911 GB, free: 61.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/1.409, allocations: 2.189 MB / 0.5932 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001383/1.409, allocations: 66.62 kB / 0.5933 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009216/1.41, allocations: 108.1 kB / 0.5934 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/1.41, allocations: 5.031 kB / 0.5934 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/1.41, allocations: 33.2 kB / 0.5934 GB, free: 60.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/1.41, allocations: 5.234 kB / 0.5934 GB, free: 60.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.41, allocations: 0 / 0.5934 GB, free: 60.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/1.413, allocations: 1.237 MB / 0.5946 GB, free: 59.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.414, allocations: 0.5224 MB / 0.5951 GB, free: 59.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007323/1.415, allocations: 11.5 kB / 0.5951 GB, free: 59.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/1.416, allocations: 46.28 kB / 0.5952 GB, free: 59.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/1.417, allocations: 68.91 kB / 0.5952 GB, free: 59.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.417, allocations: 37.12 kB / 0.5953 GB, free: 59.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004495/1.421, allocations: 2.027 MB / 0.5973 GB, free: 58.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.421, allocations: 0 / 0.5973 GB, free: 58.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002529/1.424, allocations: 0.6607 MB / 0.5979 GB, free: 58.33 MB / 426.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.004252/1.428, allocations: 2.691 MB / 0.6005 GB, free: 56.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001553/1.43, allocations: 0.6817 MB / 0.6012 GB, free: 56.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.43, allocations: 3 kB / 0.6012 GB, free: 56.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007127/1.431, allocations: 393.9 kB / 0.6016 GB, free: 56.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/1.434, allocations: 0.5228 MB / 0.6021 GB, free: 56.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009516/1.443, allocations: 3.797 MB / 0.6058 GB, free: 53.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/1.444, allocations: 1.783 MB / 0.6075 GB, free: 52.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002092/1.446, allocations: 385.4 kB / 0.6079 GB, free: 51.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/1.448, allocations: 1.256 MB / 0.6091 GB, free: 50.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/1.448, allocations: 0 / 0.6091 GB, free: 50.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/1.594, allocations: 62.15 MB / 0.6698 GB, free: 8.16 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002938/1.594, allocations: 164.3 kB / 0.67 GB, free: 7.934 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.629/7.223, allocations: 0 / 0.67 GB, free: 7.934 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat does not exist to compare? outputFormat=mat