Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.FourInverters,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_FourInverters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.134/2.134, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.915e-05, allocations: 4 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09454, allocations: 44.5 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4509/0.5455, allocations: 97.94 MB / 397.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5459, allocations: 70.91 kB / 398 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01/1.556, allocations: 193.3 MB / 0.5775 GB, free: 70.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.556, allocations: 0 / 0.5775 GB, free: 70.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001659/1.556, allocations: 84.09 kB / 0.5775 GB, free: 70.29 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01258/1.568, allocations: 4.672 MB / 0.5821 GB, free: 67.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/1.568, allocations: 13.94 kB / 0.5821 GB, free: 67.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00063/1.569, allocations: 158.7 kB / 0.5823 GB, free: 67.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/1.571, allocations: 0.755 MB / 0.583 GB, free: 67.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/1.584, allocations: 4.503 MB / 0.5874 GB, free: 66.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/1.584, allocations: 71.28 kB / 0.5875 GB, free: 66.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006408/1.585, allocations: 99.28 kB / 0.5876 GB, free: 66.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/1.589, allocations: 1.442 MB / 0.589 GB, free: 65.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/1.589, allocations: 0 / 0.589 GB, free: 65.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/1.589, allocations: 39.91 kB / 0.589 GB, free: 65.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/1.589, allocations: 42.72 kB / 0.589 GB, free: 65.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003879/1.593, allocations: 1.347 MB / 0.5904 GB, free: 65.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01983/1.613, allocations: 5.879 MB / 0.5961 GB, free: 62.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/1.615, allocations: 0.8766 MB / 0.597 GB, free: 62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/1.618, allocations: 1.155 MB / 0.5981 GB, free: 61.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1151/1.733, allocations: 71.89 MB / 0.6683 GB, free: 8.254 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/1.734, allocations: 0.5107 MB / 0.6688 GB, free: 7.734 MB / 426.7 MB Notification: Performance of pre-optimization done (n=85): time 5.48e-06/1.734, allocations: 0 / 0.6688 GB, free: 7.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=85): time 0.004607/1.739, allocations: 1.462 MB / 0.6702 GB, free: 6.258 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003225/1.739, allocations: 483.2 kB / 0.6707 GB, free: 5.676 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01444/1.754, allocations: 4.787 MB / 0.6754 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000382/1.754, allocations: 45.69 kB / 0.6754 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3133/2.067, allocations: 2.945 MB / 0.6783 GB, free: 88.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00063/2.068, allocations: 299.9 kB / 0.6786 GB, free: 88.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/2.068, allocations: 29.16 kB / 0.6786 GB, free: 88.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/2.068, allocations: 368.9 kB / 0.6789 GB, free: 88.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/2.07, allocations: 341.4 kB / 0.6793 GB, free: 88.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/2.071, allocations: 1.112 MB / 0.6804 GB, free: 87.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/2.073, allocations: 0.5155 MB / 0.6809 GB, free: 87.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.883e-05/2.073, allocations: 7.094 kB / 0.6809 GB, free: 87.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006891/2.08, allocations: 2.024 MB / 0.6828 GB, free: 86.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/2.08, allocations: 15.12 kB / 0.6829 GB, free: 86.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004758/2.081, allocations: 168.5 kB / 0.683 GB, free: 86.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.85e-05/2.081, allocations: 35.66 kB / 0.683 GB, free: 86.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/2.084, allocations: 367.9 kB / 0.6834 GB, free: 86.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.455e-05/2.084, allocations: 50.11 kB / 0.6834 GB, free: 86.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/2.088, allocations: 206.4 kB / 0.6836 GB, free: 86.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006013/2.089, allocations: 122.3 kB / 0.6838 GB, free: 86.62 MB / 426.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.0005428/2.089, allocations: 225.7 kB / 0.684 GB, free: 86.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/2.091, allocations: 0.7243 MB / 0.6847 GB, free: 86.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009811/2.101, allocations: 2.138 MB / 0.6868 GB, free: 86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/2.101, allocations: 7.125 kB / 0.6868 GB, free: 86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/2.101, allocations: 5.375 kB / 0.6868 GB, free: 86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/2.101, allocations: 3.797 kB / 0.6868 GB, free: 86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/2.114, allocations: 3.726 MB / 0.6904 GB, free: 85.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002995/2.114, allocations: 137.2 kB / 0.6906 GB, free: 85.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/2.116, allocations: 165.7 kB / 0.6907 GB, free: 85.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-05/2.116, allocations: 5.203 kB / 0.6907 GB, free: 85.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003232/2.116, allocations: 57.83 kB / 0.6908 GB, free: 85.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/2.116, allocations: 8.906 kB / 0.6908 GB, free: 85.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/2.116, allocations: 0.7031 kB / 0.6908 GB, free: 85.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004958/2.121, allocations: 2.105 MB / 0.6928 GB, free: 84.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003293/2.125, allocations: 0.9395 MB / 0.6938 GB, free: 84.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001896/2.127, allocations: 24.84 kB / 0.6938 GB, free: 84.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003599/2.13, allocations: 59.39 kB / 0.6938 GB, free: 84.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000527/2.131, allocations: 95.27 kB / 0.6939 GB, free: 84.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/2.131, allocations: 69.38 kB / 0.694 GB, free: 84.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01026/2.141, allocations: 3.639 MB / 0.6975 GB, free: 84.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.375e-06/2.141, allocations: 0 / 0.6975 GB, free: 84.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005035/2.147, allocations: 1.178 MB / 0.6987 GB, free: 84.01 MB / 426.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.008429/2.155, allocations: 3.872 MB / 0.7025 GB, free: 82.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003498/2.159, allocations: 1.284 MB / 0.7037 GB, free: 82.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/2.159, allocations: 0 / 0.7037 GB, free: 82.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/2.16, allocations: 0.7163 MB / 0.7044 GB, free: 82.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006515/2.167, allocations: 0.9566 MB / 0.7054 GB, free: 82.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/2.189, allocations: 6.98 MB / 0.7122 GB, free: 80.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004088/2.193, allocations: 2.725 MB / 0.7148 GB, free: 79.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00508/2.198, allocations: 0.7312 MB / 0.7156 GB, free: 79.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004213/2.203, allocations: 2.433 MB / 0.7179 GB, free: 79.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/2.203, allocations: 0 / 0.7179 GB, free: 79.37 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2502/2.453, allocations: 105 MB / 0.8204 GB, free: 6.977 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/2.453, allocations: 154.7 kB / 0.8206 GB, free: 6.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.966/12.42, allocations: 0 / 0.8206 GB, free: 6.75 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat does not exist to compare? outputFormat=mat