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.45/2.45, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.609e-05, allocations: 4 kB / 299.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3599, allocations: 54.85 MB / 354.3 MB, free: 44 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.5334, allocations: 90.1 MB / 444.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.5338, allocations: 79.95 kB / 444.5 MB, free: 5.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1455/0.6793, allocations: 32.1 MB / 476.6 MB, free: 5.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6793, allocations: 0 / 476.6 MB, free: 5.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.947e-05/0.6794, allocations: 16 kB / 476.6 MB, free: 5.258 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.004674/0.6841, allocations: 1.237 MB / 477.9 MB, free: 3.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.6842, allocations: 8.031 kB / 477.9 MB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.6949, allocations: 1.021 MB / 478.9 MB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.6965, allocations: 0.516 MB / 479.4 MB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.786e-05/0.6966, allocations: 40 kB / 479.5 MB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.6968, allocations: 68 kB / 479.5 MB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00402/0.7009, allocations: 1.309 MB / 480.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.7038, allocations: 0.8754 MB / 481.7 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.896e-05/0.7039, allocations: 3.906 kB / 481.7 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.7041, allocations: 3.953 kB / 481.7 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.921e-05/0.7041, allocations: 32 kB / 481.7 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3369/1.041, allocations: 4.58 MB / 486.3 MB, free: 94.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/1.044, allocations: 1.119 MB / 487.4 MB, free: 94.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007139/1.045, allocations: 321.3 kB / 487.8 MB, free: 94.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001864/1.045, allocations: 103.7 kB / 487.9 MB, free: 94.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/1.045, allocations: 44.75 kB / 487.9 MB, free: 94.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 4.158e-06/1.045, allocations: 0 / 487.9 MB, free: 94.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=91): time 0.00285/1.048, allocations: 0.8075 MB / 488.7 MB, free: 94.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/1.048, allocations: 63.16 kB / 488.8 MB, free: 94.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006465/1.049, allocations: 413.8 kB / 489.2 MB, free: 94.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.241e-05/1.049, allocations: 33.2 kB / 489.2 MB, free: 94.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/1.049, allocations: 495.1 kB / 489.7 MB, free: 93.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/1.049, allocations: 299 kB / 490 MB, free: 93.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-05/1.049, allocations: 0 / 490 MB, free: 93.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/1.049, allocations: 369 kB / 490.3 MB, free: 93.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/1.05, allocations: 290.7 kB / 490.6 MB, free: 93.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008621/1.051, allocations: 0.542 MB / 491.2 MB, free: 93.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/1.054, allocations: 0.6428 MB / 491.8 MB, free: 93.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.054, allocations: 0 / 491.8 MB, free: 93.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004164/1.058, allocations: 1.258 MB / 493.1 MB, free: 92.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/1.058, allocations: 7.906 kB / 493.1 MB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/1.058, allocations: 12.28 kB / 493.1 MB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003803/1.058, allocations: 66.69 kB / 493.2 MB, free: 92.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/1.06, allocations: 262 kB / 493.4 MB, free: 92.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/1.062, allocations: 2.53 MB / 495.9 MB, free: 90.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/1.064, allocations: 96.3 kB / 496 MB, free: 90.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/1.064, allocations: 46.88 kB / 496.1 MB, free: 90.46 MB / 410.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.0002507/1.064, allocations: 136.7 kB / 496.2 MB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002703/1.067, allocations: 0.8008 MB / 497 MB, free: 90.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/1.067, allocations: 63.95 kB / 497.1 MB, free: 90.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/1.07, allocations: 1.103 MB / 498.2 MB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.07, allocations: 7.75 kB / 498.2 MB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.07, allocations: 0.5625 kB / 498.2 MB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/1.07, allocations: 5.031 kB / 498.2 MB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/1.075, allocations: 2.575 MB / 0.489 GB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.076, allocations: 7.469 kB / 0.489 GB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/1.077, allocations: 190.5 kB / 0.4892 GB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003268/1.077, allocations: 55.47 kB / 0.4893 GB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-05/1.077, allocations: 22.59 kB / 0.4893 GB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/1.079, allocations: 2.513 MB / 0.4918 GB, free: 86.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/1.079, allocations: 14.59 kB / 0.4918 GB, free: 86.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/1.083, allocations: 1.737 MB / 0.4935 GB, free: 85.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/1.083, allocations: 175.1 kB / 0.4936 GB, free: 85.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/1.083, allocations: 14.61 kB / 0.4936 GB, free: 85.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.084, allocations: 40.94 kB / 0.4937 GB, free: 85.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/1.085, allocations: 80.92 kB / 0.4938 GB, free: 85.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/1.085, allocations: 34.33 kB / 0.4938 GB, free: 85.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004636/1.085, allocations: 315.5 kB / 0.4941 GB, free: 85.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.085, allocations: 0 / 0.4941 GB, free: 85.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001356/1.086, allocations: 285.2 kB / 0.4944 GB, free: 85.5 MB / 410.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.004159/1.091, allocations: 4.043 MB / 0.4983 GB, free: 82.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002234/1.093, allocations: 0.9586 MB / 0.4992 GB, free: 82.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.093, allocations: 4.125 kB / 0.4993 GB, free: 82.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/1.094, allocations: 0.5722 MB / 0.4998 GB, free: 81.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/1.095, allocations: 70.84 kB / 0.4999 GB, free: 81.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/1.101, allocations: 1.803 MB / 0.5016 GB, free: 80.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/1.102, allocations: 1.006 MB / 0.5026 GB, free: 80.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001033/1.103, allocations: 127.5 kB / 0.5027 GB, free: 80.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006615/1.104, allocations: 338.7 kB / 0.5031 GB, free: 79.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/1.104, allocations: 0 / 0.5031 GB, free: 79.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06508/1.169, allocations: 13.38 MB / 0.5161 GB, free: 74.67 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/1.169, allocations: 159.8 kB / 0.5163 GB, free: 74.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.902/4.071, allocations: 0 / 0.5163 GB, free: 74.48 MB / 410.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