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.118/2.118, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.901e-05, allocations: 3.984 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4367/0.5534, allocations: 75.89 MB / 397.7 MB, free: 14.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.5537, allocations: 66.53 kB / 397.8 MB, free: 14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01669/0.5704, allocations: 3.883 MB / 401.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5704, allocations: 0 / 401.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.5705, allocations: 8 kB / 401.7 MB, free: 10.11 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.0009788/0.5715, allocations: 498.2 kB / 402.2 MB, free: 9.574 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.5715, allocations: 13.83 kB / 402.2 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.394e-05/0.5716, allocations: 62.53 kB / 402.2 MB, free: 9.492 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.5717, allocations: 23.72 kB / 402.3 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.5722, allocations: 255 kB / 402.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5722, allocations: 12.44 kB / 402.5 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.5723, allocations: 24 kB / 402.5 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.5728, allocations: 183.3 kB / 402.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5728, allocations: 0 / 402.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.5729, allocations: 4 kB / 402.7 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.5729, allocations: 8 kB / 402.7 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.5733, allocations: 129.7 kB / 402.9 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.5752, allocations: 0.8258 MB / 403.7 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.5755, allocations: 90.56 kB / 403.8 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.5756, allocations: 40.86 kB / 403.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.5757, allocations: 0 / 403.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.5757, allocations: 42.56 kB / 403.9 MB, free: 7.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/0.5757, allocations: 192 / 403.9 MB, free: 7.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.002078/0.5778, allocations: 0.6356 MB / 404.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.5779, allocations: 59.34 kB / 404.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.5782, allocations: 182 kB / 404.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.5782, allocations: 29.7 kB / 404.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.5784, allocations: 226.5 kB / 405 MB, free: 6.523 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.5784, allocations: 59.19 kB / 405 MB, free: 6.465 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.5785, allocations: 4 kB / 405 MB, free: 6.461 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5786, allocations: 326.8 kB / 405.4 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.5788, allocations: 55.94 kB / 405.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.579, allocations: 93.14 kB / 405.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.5792, allocations: 55.98 kB / 405.6 MB, free: 5.914 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5792, allocations: 4 kB / 405.6 MB, free: 5.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007218/0.58, allocations: 250.6 kB / 405.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.58, allocations: 4 kB / 405.8 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.58, allocations: 4 kB / 405.8 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.5804, allocations: 73.83 kB / 405.9 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.5807, allocations: 39.86 kB / 405.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.5838, allocations: 2.808 MB / 408.7 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.5841, allocations: 8 kB / 408.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.5842, allocations: 8 kB / 408.7 MB, free: 2.438 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.0001312/0.5843, allocations: 116.9 kB / 408.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.5844, allocations: 15.81 kB / 408.9 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.902e-05/0.5845, allocations: 25.64 kB / 408.9 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5845, allocations: 8.062 kB / 408.9 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5845, allocations: 0 / 408.9 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5845, allocations: 0 / 408.9 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.585, allocations: 289.5 kB / 409.2 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.585, allocations: 3.938 kB / 409.2 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.5852, allocations: 19.98 kB / 409.2 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003191/0.5855, allocations: 69.67 kB / 409.3 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.5855, allocations: 4 kB / 409.3 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/0.5886, allocations: 2.789 MB / 412.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5887, allocations: 0 / 412.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008476/0.5895, allocations: 372.8 kB / 412.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.5897, allocations: 108.9 kB / 412.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.5897, allocations: 0 / 412.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.5901, allocations: 24.05 kB / 412.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.5901, allocations: 15.92 kB / 412.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.5902, allocations: 8.141 kB / 412.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002165/0.5904, allocations: 156.2 kB / 412.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5904, allocations: 0 / 412.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005351/0.591, allocations: 64 kB / 412.8 MB, free: 13.99 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.001123/0.5921, allocations: 0.9022 MB / 413.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008004/0.5929, allocations: 389.3 kB / 414.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5929, allocations: 0 / 414.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.5935, allocations: 317.1 kB / 414.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.5939, allocations: 20 kB / 414.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.5953, allocations: 440.7 kB / 414.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.5957, allocations: 0.7595 MB / 415.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.5959, allocations: 67.41 kB / 415.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5959, allocations: 0 / 415.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.865/3.461, allocations: 5.37 MB / 421 MB, free: 5.602 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