Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.409/2.409, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.905e-05/3.92e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4199, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2128/0.6328, allocations: 107.2 MB / 489.5 MB, free: 1.289 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.6332, allocations: 83.95 kB / 489.6 MB, free: 1.207 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.02/2.653, allocations: 387.8 MB / 0.8568 GB, free: 45.2 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.495e-06/2.653, allocations: 0 / 0.8568 GB, free: 45.2 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0007859/2.654, allocations: 255.3 kB / 0.857 GB, free: 44.95 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.05184/2.706, allocations: 10.57 MB / 0.8674 GB, free: 34.38 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/2.706, allocations: 8.031 kB / 0.8674 GB, free: 34.38 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007968/2.714, allocations: 1.726 MB / 0.8691 GB, free: 32.65 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06667/2.781, allocations: 8.386 MB / 0.8772 GB, free: 24.31 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02334/2.804, allocations: 7.481 MB / 0.8845 GB, free: 16.79 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001429/2.806, allocations: 0.8696 MB / 0.8854 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00618/2.812, allocations: 1.117 MB / 0.8865 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06918/2.881, allocations: 20.81 MB / 0.9068 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007828/2.882, allocations: 19.81 kB / 0.9068 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005655/2.888, allocations: 493.3 kB / 0.9073 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002948/2.891, allocations: 0.8481 MB / 0.9081 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4772/3.368, allocations: 19.42 MB / 0.9271 GB, free: 65.92 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1702/3.538, allocations: 60.05 MB / 0.9857 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04398/3.582, allocations: 23.8 MB / 1.009 GB, free: 44.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02537/3.608, allocations: 10.13 MB / 1.019 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001843/3.61, allocations: 365.7 kB / 1.019 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/3.61, allocations: 141.9 kB / 1.019 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1196): time 1.912e-05/3.61, allocations: 0 / 1.019 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1196): time 0.05348/3.663, allocations: 17.9 MB / 1.037 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/3.663, allocations: 153.8 kB / 1.037 GB, free: 32.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006653/3.67, allocations: 2.783 MB / 1.04 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002743/3.673, allocations: 183.9 kB / 1.04 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002673/3.676, allocations: 3.472 MB / 1.043 GB, free: 29.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.006287/3.682, allocations: 3.901 MB / 1.047 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002333/3.684, allocations: 165.6 kB / 1.047 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001135/3.686, allocations: 0.7189 MB / 1.048 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01764/3.703, allocations: 7.007 MB / 1.055 GB, free: 21.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01847/3.722, allocations: 7.879 MB / 1.062 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0217/3.743, allocations: 8.276 MB / 1.071 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.373e-05/3.744, allocations: 4 kB / 1.071 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.05874/3.802, allocations: 18.64 MB / 1.089 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/3.802, allocations: 8 kB / 1.089 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.449e-05/3.803, allocations: 15.42 kB / 1.089 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/3.814, allocations: 3.737 MB / 1.092 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0172/3.831, allocations: 1.913 MB / 1.094 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03177/3.863, allocations: 21.54 MB / 1.115 GB, free: 13.46 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01109/3.874, allocations: 1.117 MB / 1.116 GB, free: 12.53 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003252/3.878, allocations: 343.3 kB / 1.117 GB, free: 12.22 MB / 0.5574 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.00565/3.883, allocations: 0.5282 MB / 1.117 GB, free: 11.78 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004154/3.887, allocations: 0.5671 MB / 1.118 GB, free: 11.2 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5373/4.425, allocations: 21.58 MB / 1.139 GB, free: 107.4 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006585/4.426, allocations: 293.2 kB / 1.139 GB, free: 107.4 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.864e-05/4.426, allocations: 6.25 kB / 1.139 GB, free: 107.4 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002636/4.426, allocations: 49.88 kB / 1.139 GB, free: 107.4 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1176/4.544, allocations: 38.55 MB / 1.177 GB, free: 105.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001237/4.544, allocations: 0 / 1.177 GB, free: 105.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01538/4.559, allocations: 1.774 MB / 1.179 GB, free: 105.7 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01002/4.569, allocations: 3.705 MB / 1.182 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002926/4.572, allocations: 249.8 kB / 1.182 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02606/4.598, allocations: 21.39 MB / 1.203 GB, free: 92.89 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/4.598, allocations: 3.234 kB / 1.203 GB, free: 92.89 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07783/4.676, allocations: 30.15 MB / 1.233 GB, free: 86.66 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/4.678, allocations: 0.8565 MB / 1.234 GB, free: 86.22 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003569/4.682, allocations: 166.6 kB / 1.234 GB, free: 86.09 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009807/4.692, allocations: 0.5934 MB / 1.234 GB, free: 85.96 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004161/4.696, allocations: 0.8418 MB / 1.235 GB, free: 85.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00303/4.699, allocations: 325.8 kB / 1.236 GB, free: 85.71 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.00524/4.704, allocations: 2.153 MB / 1.238 GB, free: 84.93 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.81e-07/4.704, allocations: 0 / 1.238 GB, free: 84.93 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01402/4.718, allocations: 3.088 MB / 1.241 GB, free: 84.36 MB / 0.5574 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.07928/4.798, allocations: 31.04 MB / 1.271 GB, free: 66.61 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0455/4.843, allocations: 17.46 MB / 1.288 GB, free: 51.14 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/4.843, allocations: 5.312 kB / 1.288 GB, free: 51.14 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02547/4.869, allocations: 9.635 MB / 1.297 GB, free: 42.66 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01096/4.88, allocations: 0.9861 MB / 1.298 GB, free: 41.89 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1069/4.987, allocations: 28.3 MB / 1.326 GB, free: 17.63 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02017/5.007, allocations: 8.266 MB / 1.334 GB, free: 11.44 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01538/5.023, allocations: 2.61 MB / 1.337 GB, free: 9.613 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.465/5.488, allocations: 4.136 MB / 1.341 GB, free: 103.7 MB / 0.5574 GB Notification: Performance of SimCode: time 2.124e-06/5.488, allocations: 0 / 1.341 GB, free: 103.7 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9852/6.473, allocations: 223.2 MB / 1.559 GB, free: 78.54 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/6.473, allocations: 197 kB / 1.559 GB, free: 78.32 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.05/15.52, allocations: 0 / 1.559 GB, free: 78.32 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat