Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.FourInverters,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_FourInverters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.908/1.908, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.525e-05, allocations: 8 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.09759, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4782/0.5758, allocations: 102.3 MB / 419.4 MB, free: 1.918 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.5762, allocations: 73.09 kB / 419.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9653/1.541, allocations: 193.5 MB / 0.5986 GB, free: 74.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.542, allocations: 0 / 0.5986 GB, free: 74.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004217/1.542, allocations: 84 kB / 0.5987 GB, free: 74.04 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01112/1.553, allocations: 4.679 MB / 0.6032 GB, free: 69.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/1.553, allocations: 8.031 kB / 0.6032 GB, free: 69.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005238/1.554, allocations: 169.1 kB / 0.6034 GB, free: 69.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/1.555, allocations: 0.7526 MB / 0.6041 GB, free: 68.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/1.567, allocations: 4.52 MB / 0.6085 GB, free: 63.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/1.567, allocations: 70 kB / 0.6086 GB, free: 63.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/1.568, allocations: 99.89 kB / 0.6087 GB, free: 63.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/1.571, allocations: 1.433 MB / 0.6101 GB, free: 62.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/1.571, allocations: 4 kB / 0.6101 GB, free: 62.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/1.571, allocations: 39.94 kB / 0.6101 GB, free: 62.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/1.571, allocations: 47.95 kB / 0.6102 GB, free: 61.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00286/1.574, allocations: 1.344 MB / 0.6115 GB, free: 60.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01626/1.59, allocations: 5.857 MB / 0.6172 GB, free: 54.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/1.592, allocations: 0.8746 MB / 0.6181 GB, free: 53.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/1.594, allocations: 1.156 MB / 0.6192 GB, free: 52.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.402/1.996, allocations: 71.9 MB / 0.6894 GB, free: 90.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/1.998, allocations: 0.5016 MB / 0.6899 GB, free: 89.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=85): time 5.069e-06/1.998, allocations: 1.031 kB / 0.6899 GB, free: 89.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.003649/2.001, allocations: 1.456 MB / 0.6913 GB, free: 89.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/2.001, allocations: 482.1 kB / 0.6918 GB, free: 89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/2.013, allocations: 4.796 MB / 0.6965 GB, free: 88.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002884/2.013, allocations: 51.03 kB / 0.6965 GB, free: 88.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003577/2.017, allocations: 2.943 MB / 0.6994 GB, free: 88.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000544/2.017, allocations: 295.7 kB / 0.6997 GB, free: 88.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/2.018, allocations: 28.06 kB / 0.6997 GB, free: 88.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/2.018, allocations: 367 kB / 0.7001 GB, free: 87.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009162/2.019, allocations: 347.6 kB / 0.7004 GB, free: 87.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/2.02, allocations: 1.121 MB / 0.7015 GB, free: 86.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/2.021, allocations: 0.5093 MB / 0.702 GB, free: 86.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/2.021, allocations: 8.875 kB / 0.702 GB, free: 86.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004631/2.026, allocations: 2.032 MB / 0.704 GB, free: 86.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/2.026, allocations: 13.81 kB / 0.704 GB, free: 86.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003265/2.026, allocations: 162.5 kB / 0.7041 GB, free: 86.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.793e-05/2.026, allocations: 35.03 kB / 0.7042 GB, free: 86.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/2.029, allocations: 373.2 kB / 0.7045 GB, free: 86.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.892e-05/2.029, allocations: 48.12 kB / 0.7046 GB, free: 86.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/2.033, allocations: 213.4 kB / 0.7048 GB, free: 86.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004104/2.033, allocations: 125 kB / 0.7049 GB, free: 86.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0004167/2.033, allocations: 220.7 kB / 0.7051 GB, free: 86.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/2.035, allocations: 0.7199 MB / 0.7058 GB, free: 85.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008307/2.043, allocations: 2.133 MB / 0.7079 GB, free: 85.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/2.043, allocations: 10.69 kB / 0.7079 GB, free: 85.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/2.043, allocations: 0 / 0.7079 GB, free: 85.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/2.043, allocations: 3.609 kB / 0.7079 GB, free: 85.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00884/2.052, allocations: 3.735 MB / 0.7116 GB, free: 85.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002644/2.052, allocations: 136.9 kB / 0.7117 GB, free: 85.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/2.054, allocations: 167.5 kB / 0.7118 GB, free: 85.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/2.054, allocations: 3.75 kB / 0.7119 GB, free: 85.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/2.054, allocations: 62.97 kB / 0.7119 GB, free: 85.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/2.054, allocations: 6.125 kB / 0.7119 GB, free: 85.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.054, allocations: 0 / 0.7119 GB, free: 85.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/2.058, allocations: 2.097 MB / 0.714 GB, free: 84.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002604/2.061, allocations: 0.9391 MB / 0.7149 GB, free: 83.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/2.062, allocations: 20.08 kB / 0.7149 GB, free: 83.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002569/2.064, allocations: 54.72 kB / 0.715 GB, free: 83.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003416/2.065, allocations: 98.53 kB / 0.715 GB, free: 83.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/2.065, allocations: 69.72 kB / 0.7151 GB, free: 83.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008143/2.073, allocations: 3.635 MB / 0.7187 GB, free: 83.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.91e-07/2.073, allocations: 2.781 kB / 0.7187 GB, free: 83.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004427/2.078, allocations: 1.183 MB / 0.7198 GB, free: 83.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.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 (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.007275/2.085, allocations: 3.877 MB / 0.7236 GB, free: 82.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003069/2.088, allocations: 1.288 MB / 0.7249 GB, free: 82.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/2.088, allocations: 2.25 kB / 0.7249 GB, free: 82.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/2.089, allocations: 0.7112 MB / 0.7256 GB, free: 81.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006004/2.096, allocations: 0.9603 MB / 0.7265 GB, free: 81.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/2.115, allocations: 6.991 MB / 0.7333 GB, free: 79.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00249/2.117, allocations: 2.721 MB / 0.736 GB, free: 79.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004469/2.122, allocations: 0.7302 MB / 0.7367 GB, free: 79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003988/2.126, allocations: 2.43 MB / 0.7391 GB, free: 79 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/2.126, allocations: 0 / 0.7391 GB, free: 79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.559/2.685, allocations: 105 MB / 0.8416 GB, free: 93.54 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/2.685, allocations: 156.8 kB / 0.8418 GB, free: 93.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.959/11.64, allocations: 0 / 0.8418 GB, free: 93.32 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat does not exist to compare? outputFormat=mat