Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.264/2.264, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.027e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4813/0.6085, allocations: 88.66 MB / 499 MB, free: 15.37 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.6088, allocations: 55.98 kB / 499.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01745/0.6263, allocations: 4.018 MB / 0.4913 GB, free: 11.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6263, allocations: 0 / 0.4913 GB, free: 11.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.6264, allocations: 4 kB / 0.4913 GB, free: 11.29 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00096/0.6274, allocations: 498.2 kB / 0.4918 GB, free: 10.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.6274, allocations: 8.031 kB / 0.4918 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.166e-05/0.6275, allocations: 58.53 kB / 0.4918 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.188e-05/0.6276, allocations: 27.72 kB / 0.4919 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.6281, allocations: 251 kB / 0.4921 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.6281, allocations: 20.44 kB / 0.4921 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.6282, allocations: 22.75 kB / 0.4922 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.6287, allocations: 182.5 kB / 0.4923 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.6287, allocations: 0 / 0.4923 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.6288, allocations: 8 kB / 0.4923 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.6288, allocations: 4 kB / 0.4923 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.6292, allocations: 124.9 kB / 0.4925 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.6312, allocations: 0.8142 MB / 0.4933 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.6314, allocations: 90.52 kB / 0.4933 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.6316, allocations: 40.86 kB / 0.4934 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.6316, allocations: 4 kB / 0.4934 GB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.6316, allocations: 34.75 kB / 0.4934 GB, free: 8.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 5.34e-06/0.6317, allocations: 0 / 0.4934 GB, free: 8.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.002145/0.6338, allocations: 0.64 MB / 0.494 GB, free: 8.234 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.6339, allocations: 55.41 kB / 0.4941 GB, free: 8.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.6342, allocations: 187 kB / 0.4943 GB, free: 7.973 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.6342, allocations: 25.7 kB / 0.4943 GB, free: 7.941 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.6344, allocations: 171.8 kB / 0.4945 GB, free: 7.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.6345, allocations: 63.17 kB / 0.4945 GB, free: 7.707 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.6345, allocations: 4 kB / 0.4945 GB, free: 7.703 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6346, allocations: 330.8 kB / 0.4948 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.6348, allocations: 48 kB / 0.4949 GB, free: 7.324 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.635, allocations: 89.08 kB / 0.495 GB, free: 7.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.6352, allocations: 70.52 kB / 0.495 GB, free: 7.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6352, allocations: 0 / 0.495 GB, free: 7.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007394/0.636, allocations: 263 kB / 0.4953 GB, free: 6.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.636, allocations: 7.828 kB / 0.4953 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.636, allocations: 0 / 0.4953 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/0.6364, allocations: 69.67 kB / 0.4954 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.6368, allocations: 31.98 kB / 0.4954 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.6398, allocations: 2.789 MB / 0.4981 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.6402, allocations: 23.95 kB / 0.4981 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.6402, allocations: 8 kB / 0.4981 GB, free: 3.684 MB / 410.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.0001587/0.6404, allocations: 113 kB / 0.4983 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.6405, allocations: 27.67 kB / 0.4983 GB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.4e-05/0.6405, allocations: 25.64 kB / 0.4983 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.6406, allocations: 0 / 0.4983 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.6406, allocations: 4 kB / 0.4983 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6406, allocations: 0 / 0.4983 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.6411, allocations: 281.5 kB / 0.4986 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6411, allocations: 0 / 0.4986 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.6413, allocations: 35.88 kB / 0.4986 GB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003323/0.6416, allocations: 61.69 kB / 0.4987 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.6417, allocations: 3.984 kB / 0.4987 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003023/0.6447, allocations: 2.789 MB / 0.5014 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6448, allocations: 0 / 0.5014 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008348/0.6456, allocations: 368.9 kB / 0.5017 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.229e-05/0.6457, allocations: 88.95 kB / 0.5018 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.6458, allocations: 12.45 kB / 0.5018 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.6461, allocations: 19.98 kB / 0.5019 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.6462, allocations: 19.97 kB / 0.5019 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.6462, allocations: 0 / 0.5019 GB, free: 15.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.6465, allocations: 161.4 kB / 0.502 GB, free: 15.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6465, allocations: 3.938 kB / 0.502 GB, free: 15.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005294/0.647, allocations: 64 kB / 0.5021 GB, free: 15.26 MB / 426.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.001116/0.6481, allocations: 0.8935 MB / 0.503 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008029/0.649, allocations: 370.1 kB / 0.5033 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.649, allocations: 0 / 0.5033 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000576/0.6496, allocations: 303.9 kB / 0.5036 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.65, allocations: 35.88 kB / 0.5037 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.6513, allocations: 394 kB / 0.504 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.6517, allocations: 0.7557 MB / 0.5048 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.6519, allocations: 22.06 kB / 0.5048 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.6521, allocations: 67.41 kB / 0.5049 GB, free: 12.31 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6521, allocations: 0 / 0.5049 GB, free: 12.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.6848, allocations: 4.362 MB / 0.5091 GB, free: 8.051 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002965/0.6852, allocations: 166.6 kB / 0.5093 GB, free: 7.824 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.099, allocations: 0 / 0.5093 GB, free: 7.824 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat