Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.551e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3094, allocations: 44.49 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.4651, allocations: 80.4 MB / 374.6 MB, free: 1.512 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.4654, allocations: 79.95 kB / 374.7 MB, free: 1.434 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1104/0.5759, allocations: 28.38 MB / 403.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5759, allocations: 0 / 403.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.266e-05/0.576, allocations: 16 kB / 403.1 MB, free: 4.691 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003499/0.5795, allocations: 1.061 MB / 404.2 MB, free: 3.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.5796, allocations: 12.03 kB / 404.2 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0072/0.5868, allocations: 0.713 MB / 404.9 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008969/0.5877, allocations: 437.8 kB / 405.3 MB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.5878, allocations: 32 kB / 405.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.588, allocations: 71.98 kB / 405.4 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002899/0.5909, allocations: 1.012 MB / 406.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.5933, allocations: 0.8786 MB / 407.3 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.784e-05/0.5934, allocations: 0 / 407.3 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.5935, allocations: 11.94 kB / 407.3 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.5936, allocations: 31.89 kB / 407.3 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009202/0.6028, allocations: 3.883 MB / 411.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005071/0.6079, allocations: 3.706 MB / 414.9 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000703/0.6087, allocations: 272.1 kB / 415.2 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.6089, allocations: 101.6 kB / 415.3 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.6089, allocations: 47.06 kB / 415.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 3.807e-06/0.609, allocations: 0 / 415.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.002207/0.6112, allocations: 0.592 MB / 415.9 MB, free: 6.781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.6113, allocations: 111.4 kB / 416 MB, free: 6.648 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.6117, allocations: 258 kB / 416.3 MB, free: 6.391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.6118, allocations: 29.7 kB / 416.3 MB, free: 6.355 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.6121, allocations: 433.9 kB / 416.8 MB, free: 5.922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.6124, allocations: 248.5 kB / 417 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.6125, allocations: 0 / 417 MB, free: 5.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.6127, allocations: 350.8 kB / 417.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.6132, allocations: 198.6 kB / 417.5 MB, free: 5.133 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008444/0.6141, allocations: 0.5129 MB / 418 MB, free: 4.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.6159, allocations: 444.1 kB / 418.5 MB, free: 4.039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.6159, allocations: 0 / 418.5 MB, free: 4.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00295/0.6189, allocations: 0.8985 MB / 419.4 MB, free: 3.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.619, allocations: 11.98 kB / 419.4 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.619, allocations: 12 kB / 419.4 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.371e-05/0.619, allocations: 19.94 kB / 419.4 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.6207, allocations: 231.6 kB / 419.6 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.109e-05/0.6207, allocations: 27.88 kB / 419.7 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008433/0.6216, allocations: 87.03 kB / 419.8 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.6217, allocations: 47.98 kB / 419.8 MB, free: 2.703 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.6219, allocations: 136.4 kB / 419.9 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002185/0.6241, allocations: 0.5921 MB / 420.5 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.6243, allocations: 39.53 kB / 420.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.6268, allocations: 0.7077 MB / 421.3 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.6269, allocations: 11.95 kB / 421.3 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.6269, allocations: 0 / 421.3 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.6269, allocations: 11.98 kB / 421.3 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2564/0.8833, allocations: 1.476 MB / 422.8 MB, free: 95.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.8834, allocations: 1.734 kB / 422.8 MB, free: 95.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.8847, allocations: 146.9 kB / 422.9 MB, free: 95.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/0.8847, allocations: 4.109 kB / 422.9 MB, free: 95.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.8848, allocations: 7.641 kB / 422.9 MB, free: 95.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.8848, allocations: 6.156 kB / 422.9 MB, free: 95.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.8849, allocations: 3.75 kB / 422.9 MB, free: 95.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003018/0.8879, allocations: 1.185 MB / 424.1 MB, free: 95.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.8881, allocations: 130.8 kB / 424.3 MB, free: 95.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.8882, allocations: 4.766 kB / 424.3 MB, free: 95.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006433/0.8889, allocations: 14.02 kB / 424.3 MB, free: 95.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.8891, allocations: 51.48 kB / 424.3 MB, free: 95.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.8891, allocations: 19.44 kB / 424.3 MB, free: 95.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002392/0.8894, allocations: 182.2 kB / 424.5 MB, free: 95.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8894, allocations: 2.078 kB / 424.5 MB, free: 95.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001277/0.8907, allocations: 225 kB / 424.7 MB, free: 95.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003166/0.8939, allocations: 1.901 MB / 426.6 MB, free: 94.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.8954, allocations: 0.5957 MB / 427.2 MB, free: 94.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.8955, allocations: 1.25 kB / 427.2 MB, free: 94.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006362/0.8961, allocations: 284.6 kB / 427.5 MB, free: 94.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.8967, allocations: 22.86 kB / 427.5 MB, free: 94.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005975/0.9027, allocations: 1.556 MB / 429.1 MB, free: 93.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.9033, allocations: 0.9408 MB / 430 MB, free: 92.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007384/0.9041, allocations: 92.88 kB / 430.1 MB, free: 92.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000506/0.9046, allocations: 280.5 kB / 430.4 MB, free: 92.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.734e-06/0.9046, allocations: 0 / 430.4 MB, free: 92.96 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08971/0.9943, allocations: 8.938 MB / 439.3 MB, free: 92.47 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.9946, allocations: 167.8 kB / 439.5 MB, free: 92.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/3.689, allocations: 0 / 439.5 MB, free: 92.27 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat