Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Electrical_SingularTransfomer",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.166e-05, allocations: 0 / 299.6 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3894, allocations: 54.86 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.5435, allocations: 81.48 MB / 435.9 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.5437, allocations: 71.97 kB / 436 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01715/0.5609, allocations: 3.775 MB / 439.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5609, allocations: 0 / 439.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.561, allocations: 4 kB / 439.8 MB, free: 12.84 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009876/0.562, allocations: 496.1 kB / 440.2 MB, free: 12.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.562, allocations: 12.03 kB / 440.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.5621, allocations: 23.72 kB / 440.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/0.5626, allocations: 251 kB / 440.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.5627, allocations: 8 kB / 440.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/0.5628, allocations: 12.22 kB / 440.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003948/0.5632, allocations: 120.9 kB / 440.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.5636, allocations: 150.4 kB / 440.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.5637, allocations: 3.953 kB / 440.8 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.5637, allocations: 0 / 440.8 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.5637, allocations: 11.94 kB / 440.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.5658, allocations: 0.7725 MB / 441.6 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.566, allocations: 82.56 kB / 441.7 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.5662, allocations: 44.86 kB / 441.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.5662, allocations: 4 kB / 441.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.5663, allocations: 38.69 kB / 441.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/0.5663, allocations: 0 / 441.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002172/0.5684, allocations: 0.6003 MB / 442.4 MB, free: 10 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.5685, allocations: 55.36 kB / 442.4 MB, free: 9.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.5688, allocations: 171 kB / 442.6 MB, free: 9.758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.5688, allocations: 25.7 kB / 442.6 MB, free: 9.727 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.569, allocations: 175.9 kB / 442.8 MB, free: 9.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/0.5691, allocations: 55.2 kB / 442.8 MB, free: 9.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.5691, allocations: 0 / 442.8 MB, free: 9.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5693, allocations: 330.8 kB / 443.2 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.5694, allocations: 44 kB / 443.2 MB, free: 9.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.5696, allocations: 93.02 kB / 443.3 MB, free: 9.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.5699, allocations: 59.98 kB / 443.3 MB, free: 8.953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5699, allocations: 0 / 443.3 MB, free: 8.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007832/0.5707, allocations: 235.9 kB / 443.6 MB, free: 8.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.5707, allocations: 12.16 kB / 443.6 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5707, allocations: 0 / 443.6 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003652/0.5711, allocations: 61.69 kB / 443.6 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.5714, allocations: 31.98 kB / 443.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.5747, allocations: 2.697 MB / 446.4 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.575, allocations: 4 kB / 446.4 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.575, allocations: 11.98 kB / 446.4 MB, free: 5.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.5752, allocations: 113 kB / 446.5 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005794/0.5758, allocations: 187.7 kB / 446.7 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.5759, allocations: 15.81 kB / 446.7 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.5759, allocations: 21.97 kB / 446.7 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.5759, allocations: 4.375 kB / 446.7 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.576, allocations: 3.938 kB / 446.7 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.576, allocations: 3.984 kB / 446.7 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.5764, allocations: 242 kB / 447 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5764, allocations: 7.938 kB / 447 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.5766, allocations: 19.98 kB / 447 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003239/0.577, allocations: 61.67 kB / 447.1 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.577, allocations: 4 kB / 447.1 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/0.58, allocations: 2.677 MB / 449.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5801, allocations: 0 / 449.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008208/0.5809, allocations: 353.9 kB / 450.1 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.581, allocations: 92.91 kB / 450.2 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.5811, allocations: 4 kB / 450.2 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.5815, allocations: 15.98 kB / 450.2 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/0.5816, allocations: 19.97 kB / 450.2 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.5816, allocations: 4 kB / 450.2 MB, free: 1.504 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.5818, allocations: 143.1 kB / 450.4 MB, free: 1.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5818, allocations: 0 / 450.4 MB, free: 1.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006083/0.5824, allocations: 56 kB / 450.4 MB, free: 1.309 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/0.5836, allocations: 0.8829 MB / 451.3 MB, free: 400 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008478/0.5845, allocations: 363.3 kB / 451.7 MB, free: 16 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5845, allocations: 0 / 451.7 MB, free: 16 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.5851, allocations: 293 kB / 451.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.5855, allocations: 26.19 kB / 452 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.587, allocations: 387.1 kB / 452.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.5874, allocations: 0.7516 MB / 453.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.5876, allocations: 17.84 kB / 453.1 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.5878, allocations: 67.36 kB / 453.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5878, allocations: 0 / 453.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06154/0.6494, allocations: 3.743 MB / 456.9 MB, free: 10.69 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003521/0.6498, allocations: 137.2 kB / 457.1 MB, free: 10.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.729/3.379, allocations: 0 / 457.1 MB, free: 10.5 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat