Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.FourInverters,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_FourInverters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.151/2.151, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.75e-05, allocations: 4 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 50.42 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4754/0.5922, allocations: 104.6 MB / 447.7 MB, free: 5.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5926, allocations: 66.78 kB / 447.8 MB, free: 5.879 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084/1.676, allocations: 219.8 MB / 0.6519 GB, free: 36.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.655e-06/1.676, allocations: 0 / 0.6519 GB, free: 36.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003594/1.677, allocations: 84 kB / 0.652 GB, free: 36.7 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01059/1.687, allocations: 4.666 MB / 0.6566 GB, free: 31.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.687, allocations: 8.031 kB / 0.6566 GB, free: 31.97 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004393/1.688, allocations: 161.2 kB / 0.6567 GB, free: 31.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/1.689, allocations: 0.7469 MB / 0.6574 GB, free: 31.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/1.701, allocations: 4.481 MB / 0.6618 GB, free: 26.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/1.701, allocations: 69.95 kB / 0.6619 GB, free: 26.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000339/1.701, allocations: 95.91 kB / 0.662 GB, free: 26.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003033/1.704, allocations: 1.437 MB / 0.6634 GB, free: 24.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/1.704, allocations: 0 / 0.6634 GB, free: 24.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/1.704, allocations: 40 kB / 0.6634 GB, free: 24.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/1.704, allocations: 43.97 kB / 0.6635 GB, free: 24.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/1.707, allocations: 1.34 MB / 0.6648 GB, free: 23.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/1.722, allocations: 5.866 MB / 0.6705 GB, free: 17.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/1.724, allocations: 0.867 MB / 0.6713 GB, free: 16.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/1.726, allocations: 1.164 MB / 0.6725 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4282/2.154, allocations: 71.68 MB / 0.7425 GB, free: 21.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/2.155, allocations: 0.4996 MB / 0.743 GB, free: 21.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=85): time 5.531e-06/2.155, allocations: 2.906 kB / 0.743 GB, free: 21.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.003422/2.159, allocations: 1.461 MB / 0.7444 GB, free: 20.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/2.159, allocations: 483.7 kB / 0.7449 GB, free: 20.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/2.17, allocations: 4.763 MB / 0.7495 GB, free: 19.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002878/2.171, allocations: 46.61 kB / 0.7496 GB, free: 19.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003807/2.174, allocations: 2.935 MB / 0.7524 GB, free: 19.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005451/2.175, allocations: 301.8 kB / 0.7527 GB, free: 19.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/2.175, allocations: 27.88 kB / 0.7527 GB, free: 19.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/2.175, allocations: 367.7 kB / 0.7531 GB, free: 19.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000923/2.176, allocations: 341.7 kB / 0.7534 GB, free: 19.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/2.178, allocations: 1.113 MB / 0.7545 GB, free: 18.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/2.179, allocations: 0.5141 MB / 0.755 GB, free: 18.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/2.179, allocations: 10.41 kB / 0.755 GB, free: 18.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004496/2.183, allocations: 2.02 MB / 0.757 GB, free: 17.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/2.183, allocations: 15.06 kB / 0.757 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00028/2.184, allocations: 165 kB / 0.7572 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.935e-05/2.184, allocations: 42.52 kB / 0.7572 GB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/2.186, allocations: 366.7 kB / 0.7576 GB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-05/2.186, allocations: 47.88 kB / 0.7576 GB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003797/2.19, allocations: 206.6 kB / 0.7578 GB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003546/2.19, allocations: 127.1 kB / 0.7579 GB, free: 17.59 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.0003918/2.191, allocations: 214.4 kB / 0.7581 GB, free: 17.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/2.192, allocations: 0.7183 MB / 0.7588 GB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008815/2.201, allocations: 2.115 MB / 0.7609 GB, free: 32.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/2.201, allocations: 6.281 kB / 0.7609 GB, free: 32.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/2.201, allocations: 6.766 kB / 0.7609 GB, free: 32.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/2.201, allocations: 3.469 kB / 0.7609 GB, free: 32.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009224/2.21, allocations: 3.718 MB / 0.7645 GB, free: 32.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002712/2.21, allocations: 136.5 kB / 0.7647 GB, free: 32.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/2.212, allocations: 166.6 kB / 0.7648 GB, free: 32.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/2.212, allocations: 3.938 kB / 0.7648 GB, free: 32.51 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/2.212, allocations: 62.89 kB / 0.7649 GB, free: 32.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/2.212, allocations: 4.969 kB / 0.7649 GB, free: 32.51 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/2.212, allocations: 0 / 0.7649 GB, free: 32.51 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00421/2.216, allocations: 2.09 MB / 0.7669 GB, free: 31.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002795/2.219, allocations: 0.9271 MB / 0.7678 GB, free: 31.28 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/2.22, allocations: 22.66 kB / 0.7679 GB, free: 31.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/2.223, allocations: 52.62 kB / 0.7679 GB, free: 31.28 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/2.224, allocations: 101 kB / 0.768 GB, free: 31.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/2.224, allocations: 69.09 kB / 0.7681 GB, free: 31.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008309/2.232, allocations: 3.619 MB / 0.7716 GB, free: 30.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.232, allocations: 0 / 0.7716 GB, free: 30.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004319/2.237, allocations: 1.169 MB / 0.7727 GB, free: 30.97 MB / 458.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.007301/2.244, allocations: 3.859 MB / 0.7765 GB, free: 29.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003023/2.247, allocations: 1.281 MB / 0.7778 GB, free: 29.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/2.247, allocations: 0 / 0.7778 GB, free: 29.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/2.248, allocations: 0.7192 MB / 0.7785 GB, free: 29.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008796/2.257, allocations: 1.155 MB / 0.7796 GB, free: 29.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/2.277, allocations: 6.939 MB / 0.7864 GB, free: 27.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00345/2.281, allocations: 2.71 MB / 0.789 GB, free: 26.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004765/2.285, allocations: 0.73 MB / 0.7897 GB, free: 26.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00388/2.289, allocations: 2.413 MB / 0.7921 GB, free: 26.33 MB / 458.7 MB Notification: Performance of SimCode: time 1.753e-06/2.289, allocations: 0 / 0.7921 GB, free: 26.33 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6324/2.922, allocations: 104.6 MB / 0.8942 GB, free: 91.18 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/2.922, allocations: 155.5 kB / 0.8943 GB, free: 90.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.46/12.38, allocations: 7.938 kB / 0.8944 GB, free: 90.95 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat does not exist to compare? outputFormat=mat