Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.014/2.014, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.893e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4111/0.5177, allocations: 75.91 MB / 397.8 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5181, allocations: 66.91 kB / 397.8 MB, free: 13.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01746/0.5356, allocations: 3.875 MB / 401.7 MB, free: 9.652 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5356, allocations: 0 / 401.7 MB, free: 9.652 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.5357, allocations: 8 kB / 401.7 MB, free: 9.645 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.0009609/0.5366, allocations: 0.4905 MB / 402.2 MB, free: 9.109 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.5367, allocations: 9.891 kB / 402.2 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.107e-05/0.5368, allocations: 54.55 kB / 402.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.5369, allocations: 27.72 kB / 402.3 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.5374, allocations: 262.9 kB / 402.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.5374, allocations: 16.44 kB / 402.6 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.5375, allocations: 20 kB / 402.6 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.538, allocations: 178.5 kB / 402.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.538, allocations: 0 / 402.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/0.5381, allocations: 4 kB / 402.8 MB, free: 8.496 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.5381, allocations: 4 kB / 402.8 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.5385, allocations: 124.8 kB / 402.9 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.5406, allocations: 0.8376 MB / 403.7 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.5409, allocations: 82.56 kB / 403.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.541, allocations: 40.86 kB / 403.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.541, allocations: 4 kB / 403.9 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.5411, allocations: 30.56 kB / 403.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 3.917e-06/0.5411, allocations: 4.188 kB / 403.9 MB, free: 7.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.002208/0.5433, allocations: 0.6431 MB / 404.5 MB, free: 6.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.5434, allocations: 55.41 kB / 404.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.5437, allocations: 182 kB / 404.8 MB, free: 6.328 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.5437, allocations: 29.7 kB / 404.8 MB, free: 6.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.5439, allocations: 168 kB / 405 MB, free: 6.125 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.544, allocations: 59.19 kB / 405 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.544, allocations: 4 kB / 405 MB, free: 6.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5442, allocations: 334.8 kB / 405.4 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.5444, allocations: 48 kB / 405.4 MB, free: 5.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.5446, allocations: 97.08 kB / 405.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.5448, allocations: 59.98 kB / 405.6 MB, free: 5.508 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5448, allocations: 0 / 405.6 MB, free: 5.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007421/0.5456, allocations: 258.8 kB / 405.8 MB, free: 5.242 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5456, allocations: 7.938 kB / 405.8 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5456, allocations: 4 kB / 405.8 MB, free: 5.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.546, allocations: 69.83 kB / 405.9 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.5464, allocations: 31.98 kB / 405.9 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/0.5497, allocations: 2.789 MB / 408.7 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.55, allocations: 20.05 kB / 408.7 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.55, allocations: 15.94 kB / 408.7 MB, free: 2.031 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.0001747/0.5502, allocations: 116 kB / 408.9 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.5503, allocations: 15.81 kB / 408.9 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.5504, allocations: 25.64 kB / 408.9 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5504, allocations: 4.375 kB / 408.9 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5504, allocations: 4 kB / 408.9 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5504, allocations: 0 / 408.9 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.5509, allocations: 289.5 kB / 409.2 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5509, allocations: 3.938 kB / 409.2 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.5511, allocations: 19.98 kB / 409.2 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003322/0.5515, allocations: 73.66 kB / 409.3 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.5515, allocations: 3.984 kB / 409.3 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/0.5547, allocations: 2.789 MB / 412.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5548, allocations: 0 / 412.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/0.5556, allocations: 368.8 kB / 412.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.5558, allocations: 105.2 kB / 412.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.5559, allocations: 0 / 412.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.5562, allocations: 27.92 kB / 412.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.5563, allocations: 20.17 kB / 412.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.5563, allocations: 4 kB / 412.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002176/0.5566, allocations: 156.2 kB / 412.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.344e-06/0.5566, allocations: 0 / 412.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005432/0.5571, allocations: 67.94 kB / 412.8 MB, free: 13.59 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.001215/0.5584, allocations: 0.9023 MB / 413.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008523/0.5592, allocations: 367.3 kB / 414.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.5593, allocations: 4.375 kB / 414.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.5599, allocations: 303.4 kB / 414.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.5603, allocations: 19.98 kB / 414.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.5618, allocations: 398.8 kB / 414.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.5622, allocations: 0.7595 MB / 415.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.5624, allocations: 14.08 kB / 415.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.5626, allocations: 67.41 kB / 415.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5626, allocations: 4 kB / 415.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.5935, allocations: 4.36 MB / 420 MB, free: 6.367 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.5938, allocations: 173.9 kB / 420.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.028, allocations: 4 kB / 420.2 MB, free: 6.133 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat