Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.45/2.45, allocations: 235 MB / 247.6 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.7e-05/4.706e-05, allocations: 0 / 305 MB, free: 5.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4616, allocations: 54.86 MB / 359.9 MB, free: 2.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.6155, allocations: 82.14 MB / 442 MB, free: 14.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.6158, allocations: 63.97 kB / 442.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0163/0.6321, allocations: 3.838 MB / 445.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6322, allocations: 0 / 445.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.6322, allocations: 8 kB / 445.9 MB, free: 10.87 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.0009567/0.6332, allocations: 490.3 kB / 446.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.6333, allocations: 12.03 kB / 446.4 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.263e-05/0.6334, allocations: 50.55 kB / 446.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.243e-05/0.6335, allocations: 27.72 kB / 446.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.6339, allocations: 247 kB / 446.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.6339, allocations: 16.44 kB / 446.7 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.634, allocations: 23.91 kB / 446.8 MB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.6345, allocations: 174.5 kB / 446.9 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.6346, allocations: 4 kB / 446.9 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.931e-05/0.6346, allocations: 11.95 kB / 446.9 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.6346, allocations: 8 kB / 446.9 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.635, allocations: 116.9 kB / 447.1 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.6371, allocations: 0.8194 MB / 447.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.6374, allocations: 86.56 kB / 448 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.6375, allocations: 41.05 kB / 448 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.6375, allocations: 11.94 kB / 448 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.6376, allocations: 34.55 kB / 448 MB, free: 8.523 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.675e-06/0.6376, allocations: 0 / 448 MB, free: 8.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002178/0.6398, allocations: 0.6363 MB / 448.7 MB, free: 7.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.6399, allocations: 51.41 kB / 448.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.6402, allocations: 191 kB / 448.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.6402, allocations: 29.7 kB / 448.9 MB, free: 7.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.6404, allocations: 230.8 kB / 449.2 MB, free: 7.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.6405, allocations: 55.25 kB / 449.2 MB, free: 7.254 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.6405, allocations: 11.39 kB / 449.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6407, allocations: 314.8 kB / 449.5 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.6408, allocations: 55.98 kB / 449.6 MB, free: 6.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.6411, allocations: 89.09 kB / 449.7 MB, free: 6.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.6413, allocations: 66.89 kB / 449.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6413, allocations: 0 / 449.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007091/0.642, allocations: 243 kB / 450 MB, free: 6.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.6421, allocations: 9.875 kB / 450 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.6421, allocations: 7.984 kB / 450 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003574/0.6424, allocations: 65.69 kB / 450.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.6428, allocations: 35.92 kB / 450.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.6459, allocations: 2.814 MB / 452.9 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.6462, allocations: 4 kB / 452.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.6462, allocations: 12 kB / 452.9 MB, free: 3.234 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.000129/0.6464, allocations: 117 kB / 453.1 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.6464, allocations: 20.55 kB / 453.1 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.6465, allocations: 21.66 kB / 453.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6465, allocations: 4 kB / 453.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.6465, allocations: 3.953 kB / 453.1 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.6465, allocations: 0 / 453.1 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.647, allocations: 289.6 kB / 453.4 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.6471, allocations: 4 kB / 453.4 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.6472, allocations: 19.98 kB / 453.4 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.6476, allocations: 74.8 kB / 453.5 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.6476, allocations: 4 kB / 453.5 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.6506, allocations: 2.789 MB / 456.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6506, allocations: 0 / 456.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009477/0.6516, allocations: 358 kB / 456.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.6517, allocations: 100.8 kB / 456.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.6518, allocations: 4 kB / 456.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.6522, allocations: 20.11 kB / 456.7 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.6524, allocations: 20.14 kB / 456.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.6524, allocations: 4 kB / 456.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002726/0.6527, allocations: 157.4 kB / 456.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6527, allocations: 0 / 456.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008197/0.6535, allocations: 68 kB / 457 MB, free: 14.82 MB / 394.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.001486/0.655, allocations: 0.8934 MB / 457.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009829/0.656, allocations: 371.6 kB / 458.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.6561, allocations: 4 kB / 458.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007188/0.6568, allocations: 295.4 kB / 458.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.6573, allocations: 28.17 kB / 458.6 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.6591, allocations: 416.7 kB / 459 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.6597, allocations: 0.7599 MB / 459.7 MB, free: 11.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.6599, allocations: 71.41 kB / 459.8 MB, free: 11.87 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6599, allocations: 3.938 kB / 459.8 MB, free: 11.87 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.883/3.543, allocations: 5.361 MB / 465.2 MB, free: 6.504 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat