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.043/2.043, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.131e-05/4.147e-05, allocations: 4 kB / 255.4 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1298, allocations: 44.52 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4728/0.6026, allocations: 97.93 MB / 397.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.603, allocations: 74.08 kB / 398 MB, free: 12.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9806/1.584, allocations: 193.3 MB / 0.5774 GB, free: 70.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.013e-06/1.584, allocations: 0 / 0.5774 GB, free: 70.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001509/1.584, allocations: 88.06 kB / 0.5775 GB, free: 70.05 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.01218/1.596, allocations: 4.664 MB / 0.5821 GB, free: 67.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/1.596, allocations: 10.84 kB / 0.5821 GB, free: 67.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006295/1.597, allocations: 164.8 kB / 0.5822 GB, free: 67.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/1.598, allocations: 0.7516 MB / 0.583 GB, free: 67.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/1.611, allocations: 4.505 MB / 0.5874 GB, free: 66.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/1.611, allocations: 72.58 kB / 0.5874 GB, free: 66.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005661/1.612, allocations: 102.8 kB / 0.5875 GB, free: 66.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/1.615, allocations: 1.451 MB / 0.5889 GB, free: 65.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/1.615, allocations: 0 / 0.5889 GB, free: 65.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/1.616, allocations: 38.56 kB / 0.589 GB, free: 65.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.281e-05/1.616, allocations: 50.2 kB / 0.589 GB, free: 65.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/1.619, allocations: 1.358 MB / 0.5904 GB, free: 65.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0181/1.637, allocations: 5.868 MB / 0.5961 GB, free: 62.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/1.639, allocations: 0.8856 MB / 0.597 GB, free: 62.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/1.642, allocations: 1.158 MB / 0.5981 GB, free: 61.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09521/1.737, allocations: 71.9 MB / 0.6683 GB, free: 8.004 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/1.738, allocations: 0.5041 MB / 0.6688 GB, free: 7.492 MB / 426.7 MB Notification: Performance of pre-optimization done (n=85): time 4.528e-06/1.738, allocations: 0 / 0.6688 GB, free: 7.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=85): time 0.004235/1.742, allocations: 1.477 MB / 0.6702 GB, free: 6.004 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002628/1.743, allocations: 475.2 kB / 0.6707 GB, free: 5.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.013/1.756, allocations: 4.795 MB / 0.6754 GB, free: 0.668 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003228/1.756, allocations: 45.7 kB / 0.6754 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3086/2.065, allocations: 2.923 MB / 0.6783 GB, free: 88.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006121/2.065, allocations: 295.8 kB / 0.6785 GB, free: 88.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/2.065, allocations: 30.56 kB / 0.6786 GB, free: 88.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/2.066, allocations: 366.4 kB / 0.6789 GB, free: 88.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/2.067, allocations: 344.6 kB / 0.6793 GB, free: 88.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/2.068, allocations: 1.121 MB / 0.6803 GB, free: 87.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/2.07, allocations: 0.5212 MB / 0.6809 GB, free: 87.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/2.07, allocations: 7.156 kB / 0.6809 GB, free: 87.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005599/2.075, allocations: 2.091 MB / 0.6829 GB, free: 86.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/2.075, allocations: 15.16 kB / 0.6829 GB, free: 86.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003732/2.076, allocations: 167.9 kB / 0.6831 GB, free: 86.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.006e-05/2.076, allocations: 35.97 kB / 0.6831 GB, free: 86.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002456/2.078, allocations: 367.6 kB / 0.6835 GB, free: 86.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.276e-05/2.078, allocations: 52.84 kB / 0.6835 GB, free: 86.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/2.083, allocations: 206.4 kB / 0.6837 GB, free: 86.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005779/2.083, allocations: 123.8 kB / 0.6838 GB, free: 86.89 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.0005202/2.084, allocations: 219.8 kB / 0.684 GB, free: 86.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001682/2.085, allocations: 0.7241 MB / 0.6847 GB, free: 86.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009679/2.095, allocations: 2.14 MB / 0.6868 GB, free: 86.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/2.095, allocations: 7.625 kB / 0.6868 GB, free: 86.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/2.095, allocations: 1.609 kB / 0.6868 GB, free: 86.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/2.095, allocations: 5.281 kB / 0.6869 GB, free: 86.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/2.108, allocations: 3.73 MB / 0.6905 GB, free: 85.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002787/2.108, allocations: 138.8 kB / 0.6906 GB, free: 85.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/2.109, allocations: 166.2 kB / 0.6908 GB, free: 85.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/2.11, allocations: 1.875 kB / 0.6908 GB, free: 85.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002554/2.11, allocations: 65.23 kB / 0.6908 GB, free: 85.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/2.11, allocations: 6.344 kB / 0.6909 GB, free: 85.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/2.11, allocations: 0 / 0.6909 GB, free: 85.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004654/2.114, allocations: 2.103 MB / 0.6929 GB, free: 85.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00333/2.118, allocations: 0.9371 MB / 0.6938 GB, free: 84.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001836/2.12, allocations: 20.83 kB / 0.6938 GB, free: 84.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003587/2.123, allocations: 59.39 kB / 0.6939 GB, free: 84.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005177/2.124, allocations: 95.7 kB / 0.694 GB, free: 84.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/2.124, allocations: 71.47 kB / 0.6941 GB, free: 84.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01006/2.134, allocations: 3.641 MB / 0.6976 GB, free: 84.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.12e-07/2.134, allocations: 3.844 kB / 0.6976 GB, free: 84.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004762/2.139, allocations: 1.174 MB / 0.6988 GB, free: 84.28 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.007706/2.147, allocations: 3.87 MB / 0.7025 GB, free: 83.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003294/2.15, allocations: 1.328 MB / 0.7038 GB, free: 82.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/2.15, allocations: 3 kB / 0.7038 GB, free: 82.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/2.152, allocations: 0.7161 MB / 0.7045 GB, free: 82.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006165/2.158, allocations: 0.9543 MB / 0.7055 GB, free: 82.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/2.179, allocations: 6.984 MB / 0.7123 GB, free: 80.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003415/2.182, allocations: 2.723 MB / 0.715 GB, free: 79.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004945/2.187, allocations: 0.734 MB / 0.7157 GB, free: 79.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004124/2.191, allocations: 2.429 MB / 0.718 GB, free: 79.65 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/2.191, allocations: 0 / 0.718 GB, free: 79.65 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2581/2.449, allocations: 105 MB / 0.8206 GB, free: 6.68 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/2.45, allocations: 151.9 kB / 0.8208 GB, free: 6.457 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.516/11.97, allocations: 0 / 0.8208 GB, free: 6.457 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