Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.807e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3953, allocations: 58.84 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.5738, allocations: 96.79 MB / 479.1 MB, free: 11.7 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.5742, allocations: 79.95 kB / 479.2 MB, free: 11.62 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1508/0.7249, allocations: 33.03 MB / 0.5002 GB, free: 10.22 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.934e-06/0.725, allocations: 0 / 0.5002 GB, free: 10.22 MB / 442.8 MB Notification: Performance of Transformations before backend: time 6.376e-05/0.7251, allocations: 16 kB / 0.5002 GB, free: 10.21 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.006399/0.7315, allocations: 1.267 MB / 0.5015 GB, free: 8.895 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.7316, allocations: 12.03 kB / 0.5015 GB, free: 8.883 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005221/0.7321, allocations: 185.8 kB / 0.5016 GB, free: 8.691 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/0.748, allocations: 1.017 MB / 0.5026 GB, free: 7.672 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.7502, allocations: 0.5504 MB / 0.5032 GB, free: 7.078 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.7504, allocations: 98.41 kB / 0.5033 GB, free: 6.98 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000476/0.7509, allocations: 120 kB / 0.5034 GB, free: 6.863 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004074/0.7549, allocations: 1.118 MB / 0.5045 GB, free: 5.723 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-05/0.7551, allocations: 15.89 kB / 0.5045 GB, free: 5.707 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.7553, allocations: 52 kB / 0.5045 GB, free: 5.656 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.271e-05/0.7553, allocations: 28 kB / 0.5046 GB, free: 5.629 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003722/0.7591, allocations: 1.364 MB / 0.5059 GB, free: 4.262 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.772, allocations: 4.88 MB / 0.5107 GB, free: 15.07 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.7751, allocations: 1.147 MB / 0.5118 GB, free: 13.84 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009425/0.7761, allocations: 343.2 kB / 0.5121 GB, free: 13.51 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.7763, allocations: 101.9 kB / 0.5122 GB, free: 13.39 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.7764, allocations: 47.33 kB / 0.5123 GB, free: 13.34 MB / 458.8 MB Notification: Performance of pre-optimization done (n=91): time 3.767e-06/0.7764, allocations: 0 / 0.5123 GB, free: 13.34 MB / 458.8 MB Notification: Performance of matching and sorting (n=91): time 0.002199/0.7786, allocations: 0.7078 MB / 0.5129 GB, free: 12.61 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.7787, allocations: 64.19 kB / 0.513 GB, free: 12.54 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.7803, allocations: 0.7068 MB / 0.5137 GB, free: 11.82 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001512/0.7804, allocations: 41.7 kB / 0.5137 GB, free: 11.78 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.7809, allocations: 478.7 kB / 0.5142 GB, free: 11.3 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.7813, allocations: 311.5 kB / 0.5145 GB, free: 10.99 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.7814, allocations: 20 kB / 0.5145 GB, free: 10.97 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.7816, allocations: 398.7 kB / 0.5149 GB, free: 10.57 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009797/0.7826, allocations: 318.6 kB / 0.5152 GB, free: 10.26 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.7838, allocations: 0.5698 MB / 0.5157 GB, free: 9.582 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.7849, allocations: 404.8 kB / 0.5161 GB, free: 9.188 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.785, allocations: 4 kB / 0.5161 GB, free: 9.184 MB / 458.8 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00319/0.7882, allocations: 1.099 MB / 0.5172 GB, free: 8.066 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.7882, allocations: 8 kB / 0.5172 GB, free: 8.059 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.7883, allocations: 8 kB / 0.5172 GB, free: 8.051 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004357/0.7887, allocations: 70.27 kB / 0.5173 GB, free: 7.977 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/0.7908, allocations: 263.6 kB / 0.5175 GB, free: 7.719 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/0.7937, allocations: 2.631 MB / 0.5201 GB, free: 4.82 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.7955, allocations: 150.2 kB / 0.5203 GB, free: 4.672 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.7956, allocations: 44 kB / 0.5203 GB, free: 4.629 MB / 458.8 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.0003439/0.796, allocations: 172.6 kB / 0.5205 GB, free: 4.453 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.7962, allocations: 94.97 kB / 0.5206 GB, free: 4.359 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/0.7992, allocations: 1.058 MB / 0.5216 GB, free: 3.266 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.7992, allocations: 19.95 kB / 0.5216 GB, free: 3.246 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7992, allocations: 0 / 0.5216 GB, free: 3.246 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.7993, allocations: 3.984 kB / 0.5216 GB, free: 3.242 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005707/0.805, allocations: 2.659 MB / 0.5242 GB, free: 360 kB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.805, allocations: 8 kB / 0.5242 GB, free: 352 kB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/0.8065, allocations: 192.5 kB / 0.5244 GB, free: 160 kB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.8069, allocations: 61.62 kB / 0.5245 GB, free: 92 kB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.634e-05/0.807, allocations: 27.98 kB / 0.5245 GB, free: 64 kB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3197/1.127, allocations: 2.607 MB / 0.527 GB, free: 115.4 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.946e-05/1.127, allocations: 12.03 kB / 0.527 GB, free: 115.4 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/1.131, allocations: 1.691 MB / 0.5287 GB, free: 114.6 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004132/1.131, allocations: 219.1 kB / 0.5289 GB, free: 114.5 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/1.131, allocations: 22.52 kB / 0.5289 GB, free: 114.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.133, allocations: 60.84 kB / 0.529 GB, free: 114.5 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/1.133, allocations: 81.83 kB / 0.5291 GB, free: 114.4 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.133, allocations: 42.12 kB / 0.5291 GB, free: 114.4 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00151/1.134, allocations: 0.5446 MB / 0.5296 GB, free: 114.3 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.974e-06/1.135, allocations: 0 / 0.5296 GB, free: 114.3 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.002053/1.137, allocations: 302.8 kB / 0.5299 GB, free: 114.3 MB / 458.8 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.005184/1.142, allocations: 4.034 MB / 0.5339 GB, free: 111.3 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.003371/1.145, allocations: 0.9994 MB / 0.5348 GB, free: 111.1 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.145, allocations: 1.188 kB / 0.5348 GB, free: 111.1 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/1.147, allocations: 0.5819 MB / 0.5354 GB, free: 110.9 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/1.148, allocations: 99.05 kB / 0.5355 GB, free: 110.9 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009157/1.157, allocations: 1.969 MB / 0.5374 GB, free: 110.3 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007504/1.158, allocations: 1.02 MB / 0.5384 GB, free: 109.6 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.001627/1.16, allocations: 155.5 kB / 0.5386 GB, free: 109.5 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/1.161, allocations: 372.3 kB / 0.5389 GB, free: 109.5 MB / 458.8 MB Notification: Performance of SimCode: time 1.092e-06/1.161, allocations: 0 / 0.5389 GB, free: 109.5 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06887/1.23, allocations: 17.6 MB / 0.5561 GB, free: 108.5 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/1.23, allocations: 194 kB / 0.5563 GB, free: 108.3 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/4.336, allocations: 0 / 0.5563 GB, free: 108.3 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat