Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.151/2.151, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.241e-05/4.207e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 48.71 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4074/0.5204, allocations: 75.91 MB / 397.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.5207, allocations: 63.97 kB / 397.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.5381, allocations: 3.884 MB / 401.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5382, allocations: 0 / 401.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.5382, allocations: 4 kB / 401.7 MB, free: 9.957 MB / 330.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.0009764/0.5392, allocations: 0.4884 MB / 402.2 MB, free: 9.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.5393, allocations: 12.03 kB / 402.2 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.616e-05/0.5394, allocations: 54.55 kB / 402.3 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.5395, allocations: 31.72 kB / 402.3 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.54, allocations: 254.9 kB / 402.5 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.54, allocations: 20.38 kB / 402.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.5401, allocations: 19.98 kB / 402.6 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.5406, allocations: 178.5 kB / 402.8 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.5406, allocations: 0 / 402.8 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.5407, allocations: 12 kB / 402.8 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.5407, allocations: 4 kB / 402.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.5411, allocations: 120.9 kB / 402.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.5431, allocations: 0.822 MB / 403.7 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.5434, allocations: 86.56 kB / 403.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.5435, allocations: 40.86 kB / 403.8 MB, free: 7.645 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.5436, allocations: 3.984 kB / 403.8 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.5436, allocations: 38.56 kB / 403.9 MB, free: 7.594 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.464e-06/0.5436, allocations: 4.406 kB / 403.9 MB, free: 7.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.002212/0.5459, allocations: 0.6392 MB / 404.5 MB, free: 6.891 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.5459, allocations: 55.41 kB / 404.6 MB, free: 6.824 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.5462, allocations: 182 kB / 404.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.5463, allocations: 29.7 kB / 404.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.5465, allocations: 226.5 kB / 405 MB, free: 6.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.627e-05/0.5465, allocations: 55.19 kB / 405.1 MB, free: 6.328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.5466, allocations: 8 kB / 405.1 MB, free: 6.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5467, allocations: 318.8 kB / 405.4 MB, free: 6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.5469, allocations: 48 kB / 405.4 MB, free: 5.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.5471, allocations: 101.1 kB / 405.5 MB, free: 5.836 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.5473, allocations: 59.97 kB / 405.6 MB, free: 5.777 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5473, allocations: 4 kB / 405.6 MB, free: 5.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007286/0.5481, allocations: 239 kB / 405.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5481, allocations: 7.938 kB / 405.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5481, allocations: 4 kB / 405.8 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/0.5485, allocations: 69.83 kB / 405.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.5488, allocations: 35.98 kB / 405.9 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.5519, allocations: 2.809 MB / 408.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.5523, allocations: 4 kB / 408.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.5523, allocations: 15.94 kB / 408.8 MB, free: 2.309 MB / 330.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.000132/0.5525, allocations: 112.9 kB / 408.9 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.5525, allocations: 27.64 kB / 408.9 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.621e-05/0.5526, allocations: 21.66 kB / 408.9 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5526, allocations: 4 kB / 408.9 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5526, allocations: 4.062 kB / 408.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5527, allocations: 0 / 408.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.5531, allocations: 289.5 kB / 409.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5531, allocations: 0 / 409.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.5533, allocations: 16.17 kB / 409.2 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003273/0.5537, allocations: 77.61 kB / 409.3 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.5537, allocations: 4 kB / 409.3 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002997/0.5567, allocations: 2.789 MB / 412.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5568, allocations: 0 / 412.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/0.5576, allocations: 364.8 kB / 412.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.5578, allocations: 108.9 kB / 412.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.5578, allocations: 192 / 412.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.5582, allocations: 31.92 kB / 412.6 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.5583, allocations: 16.05 kB / 412.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.5583, allocations: 4 kB / 412.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002189/0.5585, allocations: 156.2 kB / 412.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.845e-06/0.5585, allocations: 0 / 412.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005603/0.5591, allocations: 67.94 kB / 412.8 MB, free: 13.86 MB / 346.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.001205/0.5603, allocations: 0.9021 MB / 413.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008307/0.5612, allocations: 370.2 kB / 414.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5612, allocations: 4.375 kB / 414.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.5618, allocations: 299.4 kB / 414.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.5622, allocations: 19.98 kB / 414.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.5637, allocations: 432.4 kB / 414.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.5641, allocations: 0.7595 MB / 415.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.5643, allocations: 67.41 kB / 415.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5643, allocations: 0 / 415.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.959/3.523, allocations: 5.358 MB / 421 MB, free: 5.539 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat