Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 235 MB / 247.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.851e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4082, allocations: 54.85 MB / 359.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5726, allocations: 90.76 MB / 450.6 MB, free: 6.031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.573, allocations: 79.95 kB / 450.7 MB, free: 5.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1513/0.7243, allocations: 32.53 MB / 483.2 MB, free: 5.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7244, allocations: 4 kB / 483.2 MB, free: 5.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.376e-05/0.7244, allocations: 20 kB / 483.3 MB, free: 5.09 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004999/0.7295, allocations: 1.233 MB / 484.5 MB, free: 3.809 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.7295, allocations: 12.03 kB / 484.5 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005006/0.73, allocations: 185.7 kB / 484.7 MB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.7408, allocations: 1.021 MB / 485.7 MB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.7423, allocations: 0.5083 MB / 486.2 MB, free: 2.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.7424, allocations: 90.45 kB / 486.3 MB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.7428, allocations: 127.9 kB / 486.4 MB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/0.7466, allocations: 1.118 MB / 487.5 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.45e-05/0.7467, allocations: 4 kB / 487.5 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.7469, allocations: 51.95 kB / 487.6 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/0.7469, allocations: 35.94 kB / 487.6 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004403/0.7514, allocations: 1.372 MB / 489 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/0.7662, allocations: 4.872 MB / 493.9 MB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/0.7694, allocations: 1.15 MB / 495 MB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.7705, allocations: 347.2 kB / 495.4 MB, free: 8.457 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.7708, allocations: 101.8 kB / 495.5 MB, free: 8.336 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/0.7709, allocations: 43.34 kB / 495.5 MB, free: 8.285 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 5.069e-06/0.7709, allocations: 4 kB / 495.5 MB, free: 8.281 MB / 426.7 MB Notification: Performance of matching and sorting (n=91): time 0.003055/0.774, allocations: 0.7079 MB / 496.2 MB, free: 7.562 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.7741, allocations: 68.19 kB / 496.3 MB, free: 7.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.7761, allocations: 0.6715 MB / 497 MB, free: 6.805 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001933/0.7763, allocations: 41.7 kB / 497 MB, free: 6.758 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005883/0.7769, allocations: 470.7 kB / 497.5 MB, free: 6.289 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000466/0.7774, allocations: 311.5 kB / 497.8 MB, free: 5.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.7775, allocations: 20 kB / 497.8 MB, free: 5.961 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003054/0.7779, allocations: 398.7 kB / 498.2 MB, free: 5.562 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.7793, allocations: 314.6 kB / 498.5 MB, free: 5.254 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.781, allocations: 0.5751 MB / 499 MB, free: 4.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.7827, allocations: 404.8 kB / 499.4 MB, free: 4.176 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.7828, allocations: 4 kB / 499.4 MB, free: 4.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004479/0.7872, allocations: 1.108 MB / 0.4888 GB, free: 3.047 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.7873, allocations: 15.94 kB / 0.4888 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.7874, allocations: 12.06 kB / 0.4889 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005191/0.7879, allocations: 57.69 kB / 0.4889 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/0.7907, allocations: 267.6 kB / 0.4892 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/0.7947, allocations: 2.635 MB / 0.4917 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/0.7971, allocations: 150.3 kB / 0.4919 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/0.7973, allocations: 51.98 kB / 0.4919 GB, free: 15.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004354/0.7978, allocations: 172.7 kB / 0.4921 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.7981, allocations: 82.97 kB / 0.4922 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/0.8022, allocations: 1.058 MB / 0.4932 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.8023, allocations: 8 kB / 0.4932 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.8023, allocations: 7.938 kB / 0.4932 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.8023, allocations: 3.984 kB / 0.4932 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008146/0.8105, allocations: 2.675 MB / 0.4958 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.8106, allocations: 4 kB / 0.4958 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/0.8126, allocations: 183.7 kB / 0.496 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005178/0.8132, allocations: 61.67 kB / 0.4961 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.8133, allocations: 28 kB / 0.4961 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/0.817, allocations: 2.623 MB / 0.4987 GB, free: 8.148 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-05/0.817, allocations: 11.94 kB / 0.4987 GB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005051/0.8221, allocations: 1.687 MB / 0.5003 GB, free: 6.195 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/0.8227, allocations: 211.7 kB / 0.5005 GB, free: 5.969 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/0.8231, allocations: 24 kB / 0.5005 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.8248, allocations: 60.03 kB / 0.5006 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.8251, allocations: 76.59 kB / 0.5007 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.8253, allocations: 39.98 kB / 0.5007 GB, free: 5.773 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001613/0.8269, allocations: 0.5304 MB / 0.5012 GB, free: 5.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8269, allocations: 0 / 0.5012 GB, free: 5.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002272/0.8292, allocations: 299.5 kB / 0.5015 GB, free: 4.957 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006513/0.8357, allocations: 4.032 MB / 0.5055 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003838/0.8396, allocations: 1.032 MB / 0.5065 GB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.8397, allocations: 0 / 0.5065 GB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.8417, allocations: 0.6055 MB / 0.5071 GB, free: 15.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.843, allocations: 103.8 kB / 0.5072 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008999/0.8521, allocations: 1.919 MB / 0.509 GB, free: 12.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008756/0.853, allocations: 1.016 MB / 0.51 GB, free: 11.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001158/0.8542, allocations: 151.5 kB / 0.5102 GB, free: 11.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008003/0.855, allocations: 355.3 kB / 0.5105 GB, free: 11.35 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/0.855, allocations: 0 / 0.5105 GB, free: 11.35 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.367/1.222, allocations: 17.25 MB / 0.5273 GB, free: 122.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/1.222, allocations: 188.3 kB / 0.5275 GB, free: 122.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/4.345, allocations: 0 / 0.5275 GB, free: 122.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat