Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.301/2.301, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.769e-05, allocations: 8 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.391, allocations: 54.84 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.5712, allocations: 100.5 MB / 460.4 MB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.5716, allocations: 83.95 kB / 460.4 MB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.926/2.497, allocations: 388.4 MB / 0.829 GB, free: 42.87 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.055e-06/2.497, allocations: 4 kB / 0.829 GB, free: 42.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009374/2.498, allocations: 252.2 kB / 0.8292 GB, free: 42.83 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3353 * Number of variables: 3353 Notification: Performance of Generate backend data structure: time 0.05055/2.549, allocations: 10.46 MB / 0.8394 GB, free: 32.45 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/2.549, allocations: 12.03 kB / 0.8394 GB, free: 32.44 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007768/2.557, allocations: 1.714 MB / 0.8411 GB, free: 30.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06709/2.624, allocations: 8.376 MB / 0.8493 GB, free: 22.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02378/2.648, allocations: 7.238 MB / 0.8564 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001497/2.649, allocations: 0.864 MB / 0.8572 GB, free: 14.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006138/2.656, allocations: 1.119 MB / 0.8583 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07111/2.727, allocations: 20.75 MB / 0.8786 GB, free: 8.133 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007519/2.728, allocations: 19.89 kB / 0.8786 GB, free: 8.113 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005765/2.733, allocations: 494.5 kB / 0.8791 GB, free: 7.645 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001677/2.735, allocations: 0.848 MB / 0.8799 GB, free: 6.793 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7908/3.526, allocations: 19.39 MB / 0.8988 GB, free: 54.04 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1579/3.684, allocations: 59.83 MB / 0.9572 GB, free: 46.69 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04007/3.724, allocations: 23.8 MB / 0.9805 GB, free: 30.82 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02397/3.748, allocations: 10.12 MB / 0.9904 GB, free: 26.63 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002163/3.75, allocations: 361.3 kB / 0.9907 GB, free: 26.47 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/3.751, allocations: 144.5 kB / 0.9909 GB, free: 26.36 MB / 490.8 MB Notification: Performance of pre-optimization done (n=1196): time 2.015e-05/3.751, allocations: 0 / 0.9909 GB, free: 26.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=1196): time 0.05401/3.805, allocations: 17.88 MB / 1.008 GB, free: 19.4 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/3.805, allocations: 155 kB / 1.008 GB, free: 19.33 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00602/3.811, allocations: 2.638 MB / 1.011 GB, free: 18.43 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002582/3.814, allocations: 186.6 kB / 1.011 GB, free: 18.27 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002523/3.816, allocations: 3.408 MB / 1.015 GB, free: 15.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.006271/3.822, allocations: 3.906 MB / 1.018 GB, free: 12.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00214/3.825, allocations: 169.1 kB / 1.019 GB, free: 12.69 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001108/3.826, allocations: 0.7197 MB / 1.019 GB, free: 12.21 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01815/3.844, allocations: 7 MB / 1.026 GB, free: 7.121 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01966/3.864, allocations: 7.874 MB / 1.034 GB, free: 116 kB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0243/3.888, allocations: 8.279 MB / 1.042 GB, free: 9.18 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.132e-05/3.888, allocations: 4 kB / 1.042 GB, free: 9.176 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.1105/3.999, allocations: 20.42 MB / 1.062 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.056e-05/3.999, allocations: 16.66 kB / 1.062 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/3.999, allocations: 12 kB / 1.062 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01619/4.015, allocations: 3.731 MB / 1.065 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02789/4.043, allocations: 1.915 MB / 1.067 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4497/4.493, allocations: 21.51 MB / 1.088 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/4.503, allocations: 1.126 MB / 1.089 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003208/4.507, allocations: 335.9 kB / 1.09 GB, free: 76.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (933): * Single equations (assignments): 818 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.005693/4.512, allocations: 0.5402 MB / 1.09 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003809/4.516, allocations: 0.5525 MB / 1.091 GB, free: 76.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07754/4.594, allocations: 20.23 MB / 1.111 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006027/4.595, allocations: 294.8 kB / 1.111 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.948e-05/4.595, allocations: 0 / 1.111 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00027/4.595, allocations: 54.28 kB / 1.111 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.114/4.709, allocations: 38.5 MB / 1.149 GB, free: 74.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001392/4.709, allocations: 3.609 kB / 1.149 GB, free: 74.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01576/4.725, allocations: 1.77 MB / 1.15 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01001/4.735, allocations: 3.705 MB / 1.154 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002532/4.737, allocations: 256.6 kB / 1.154 GB, free: 72.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02431/4.762, allocations: 21.38 MB / 1.175 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/4.762, allocations: 1.875 kB / 1.175 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07079/4.833, allocations: 30.13 MB / 1.204 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002178/4.835, allocations: 0.8488 MB / 1.205 GB, free: 43.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003482/4.838, allocations: 173.9 kB / 1.205 GB, free: 43.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00958/4.848, allocations: 0.59 MB / 1.206 GB, free: 42.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004101/4.852, allocations: 0.8437 MB / 1.207 GB, free: 42.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002704/4.855, allocations: 319.3 kB / 1.207 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004436/4.859, allocations: 2.036 MB / 1.209 GB, free: 40.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.82e-07/4.859, allocations: 0 / 1.209 GB, free: 40.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01483/4.874, allocations: 3.084 MB / 1.212 GB, free: 37.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (921): * Single equations (assignments): 806 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.08006/4.954, allocations: 31.03 MB / 1.242 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.07199/5.026, allocations: 18.89 MB / 1.261 GB, free: 14.15 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/5.026, allocations: 0 / 1.261 GB, free: 14.15 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02906/5.056, allocations: 9.638 MB / 1.27 GB, free: 5.668 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01141/5.067, allocations: 0.9877 MB / 1.271 GB, free: 4.91 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5184/5.585, allocations: 29.7 MB / 1.3 GB, free: 97.45 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01953/5.605, allocations: 8.211 MB / 1.308 GB, free: 96.48 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01556/5.621, allocations: 2.589 MB / 1.311 GB, free: 96.35 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01245/5.633, allocations: 4.087 MB / 1.315 GB, free: 96.35 MB / 0.5262 GB Notification: Performance of SimCode: time 1.383e-06/5.633, allocations: 0 / 1.315 GB, free: 96.35 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8717/6.505, allocations: 221.5 MB / 1.531 GB, free: 113.2 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/6.505, allocations: 203.1 kB / 1.531 GB, free: 113 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.774/15.28, allocations: 0 / 1.531 GB, free: 113 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat