Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.677/2.677, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.831e-05/3.184e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4378, allocations: 54.85 MB / 359.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.6135, allocations: 90.77 MB / 450.6 MB, free: 6.195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.6138, allocations: 79.95 kB / 450.7 MB, free: 6.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1293/0.7431, allocations: 32.53 MB / 483.2 MB, free: 5.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7432, allocations: 0 / 483.2 MB, free: 5.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.882e-05/0.7432, allocations: 20 kB / 483.3 MB, free: 5.25 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.004871/0.7481, allocations: 1.244 MB / 484.5 MB, free: 3.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.7482, allocations: 12.03 kB / 484.5 MB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004961/0.7487, allocations: 181.8 kB / 484.7 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.7595, allocations: 1.013 MB / 485.7 MB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.761, allocations: 0.5122 MB / 486.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.7612, allocations: 90.45 kB / 486.3 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.7615, allocations: 123.9 kB / 486.4 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/0.7651, allocations: 1.106 MB / 487.5 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.06e-05/0.7652, allocations: 4 kB / 487.5 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.7654, allocations: 51.95 kB / 487.6 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.964e-05/0.7655, allocations: 32 kB / 487.6 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003838/0.7693, allocations: 1.356 MB / 489 MB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.7824, allocations: 4.872 MB / 493.8 MB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/0.7855, allocations: 1.137 MB / 495 MB, free: 9.004 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008982/0.7865, allocations: 353.2 kB / 495.3 MB, free: 8.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.7867, allocations: 97.86 kB / 495.4 MB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.7867, allocations: 47.34 kB / 495.5 MB, free: 8.488 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 4.248e-06/0.7867, allocations: 0 / 495.5 MB, free: 8.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=91): time 0.002266/0.789, allocations: 0.7118 MB / 496.2 MB, free: 7.766 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.7891, allocations: 60.19 kB / 496.2 MB, free: 7.695 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.7905, allocations: 0.6754 MB / 496.9 MB, free: 7.016 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.7906, allocations: 41.7 kB / 497 MB, free: 6.969 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.7911, allocations: 0.4893 MB / 497.4 MB, free: 6.473 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.7914, allocations: 319.5 kB / 497.8 MB, free: 6.156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.7915, allocations: 20 kB / 497.8 MB, free: 6.137 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.7917, allocations: 350.8 kB / 498.1 MB, free: 5.785 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009595/0.7927, allocations: 314.6 kB / 498.4 MB, free: 5.477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.7939, allocations: 0.5648 MB / 499 MB, free: 4.801 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.795, allocations: 404.8 kB / 499.4 MB, free: 4.406 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.7951, allocations: 4 kB / 499.4 MB, free: 4.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003157/0.7982, allocations: 1.05 MB / 0.4887 GB, free: 3.336 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.7983, allocations: 8 kB / 0.4887 GB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.7984, allocations: 8 kB / 0.4887 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004615/0.7988, allocations: 69.67 kB / 0.4888 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.801, allocations: 259.6 kB / 0.489 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.8039, allocations: 2.631 MB / 0.4916 GB, free: 100 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.8057, allocations: 162.2 kB / 0.4918 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.8059, allocations: 48.16 kB / 0.4918 GB, free: 15.89 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.0003272/0.8062, allocations: 168.7 kB / 0.492 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.8065, allocations: 86.97 kB / 0.4921 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002991/0.8095, allocations: 1.058 MB / 0.4931 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.8095, allocations: 12 kB / 0.4931 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.8095, allocations: 7.922 kB / 0.4931 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.8096, allocations: 3.984 kB / 0.4931 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005912/0.8155, allocations: 2.655 MB / 0.4957 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.8155, allocations: 4 kB / 0.4957 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.817, allocations: 183.7 kB / 0.4959 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.8174, allocations: 62 kB / 0.4959 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.038e-05/0.8175, allocations: 31.98 kB / 0.496 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.8202, allocations: 2.612 MB / 0.4985 GB, free: 8.465 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-05/0.8202, allocations: 12.16 kB / 0.4985 GB, free: 8.453 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003658/0.8239, allocations: 1.69 MB / 0.5002 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/0.8244, allocations: 211.8 kB / 0.5004 GB, free: 6.281 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.8246, allocations: 24 kB / 0.5004 GB, free: 6.258 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.8258, allocations: 60.03 kB / 0.5005 GB, free: 6.199 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.826, allocations: 76.58 kB / 0.5005 GB, free: 6.125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.294e-05/0.8262, allocations: 36 kB / 0.5006 GB, free: 6.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001092/0.8273, allocations: 0.5265 MB / 0.5011 GB, free: 5.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.8273, allocations: 0 / 0.5011 GB, free: 5.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001512/0.8288, allocations: 307.4 kB / 0.5014 GB, free: 5.27 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.004803/0.8336, allocations: 4.033 MB / 0.5053 GB, free: 1.031 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002856/0.8365, allocations: 0.9849 MB / 0.5063 GB, free: 32 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/0.8366, allocations: 8.125 kB / 0.5063 GB, free: 24 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.8381, allocations: 0.5779 MB / 0.5069 GB, free: 15.42 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.8392, allocations: 111.8 kB / 0.507 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007796/0.847, allocations: 1.95 MB / 0.5089 GB, free: 13.24 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008419/0.8479, allocations: 1.012 MB / 0.5099 GB, free: 12.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.849, allocations: 363.3 kB / 0.5102 GB, free: 11.85 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/0.849, allocations: 0 / 0.5102 GB, free: 11.85 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.42/4.269, allocations: 22.6 MB / 0.5323 GB, free: 122.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat