Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.285e-05, allocations: 6.5 kB / 292.8 MB, free: 8.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 50.4 MB / 343.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6038/0.7129, allocations: 149 MB / 492.2 MB, free: 9.953 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003961/0.7133, allocations: 108.3 kB / 492.3 MB, free: 9.891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469/2.183, allocations: 233.4 MB / 0.7087 GB, free: 56.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.154e-06/2.183, allocations: 1 kB / 0.7087 GB, free: 56.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007077/2.183, allocations: 164.2 kB / 0.7089 GB, free: 56.95 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03258/2.216, allocations: 6.798 MB / 0.7155 GB, free: 54.67 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/2.216, allocations: 10.47 kB / 0.7155 GB, free: 54.67 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005279/2.221, allocations: 1.141 MB / 0.7166 GB, free: 54.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03248/2.254, allocations: 3.655 MB / 0.7202 GB, free: 54.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0233/2.277, allocations: 6.038 MB / 0.7261 GB, free: 53.35 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007269/2.278, allocations: 0.5234 MB / 0.7266 GB, free: 53.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003467/2.281, allocations: 0.6893 MB / 0.7273 GB, free: 53.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03749/2.319, allocations: 10.95 MB / 0.738 GB, free: 52.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005273/2.32, allocations: 14.56 kB / 0.738 GB, free: 52.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003071/2.323, allocations: 299.8 kB / 0.7383 GB, free: 52.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000829/2.324, allocations: 0.5162 MB / 0.7388 GB, free: 52.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03124/2.355, allocations: 9.963 MB / 0.7485 GB, free: 52.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1092/2.464, allocations: 37.88 MB / 0.7855 GB, free: 37.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02784/2.492, allocations: 28.09 MB / 0.8129 GB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006205/2.498, allocations: 2.566 MB / 0.8154 GB, free: 9.094 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0223/2.521, allocations: 7.929 MB / 0.8232 GB, free: 5.062 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.571e-05/2.521, allocations: 58.81 kB / 0.8232 GB, free: 5.004 MB / 458.7 MB Notification: Performance of pre-optimization done (n=217): time 5.08e-06/2.521, allocations: 0 / 0.8232 GB, free: 5.004 MB / 458.7 MB Notification: Performance of matching and sorting (n=233): time 0.02408/2.545, allocations: 8.323 MB / 0.8313 GB, free: 1.074 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002938/2.548, allocations: 1.926 MB / 0.8332 GB, free: 15.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008646/2.556, allocations: 3.326 MB / 0.8365 GB, free: 14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004979/2.557, allocations: 64.17 kB / 0.8365 GB, free: 13.94 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003591/2.561, allocations: 3.537 MB / 0.84 GB, free: 11.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001314/2.562, allocations: 0.8321 MB / 0.8408 GB, free: 10.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005373/2.563, allocations: 101.7 kB / 0.8409 GB, free: 10.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003966/2.563, allocations: 498.7 kB / 0.8414 GB, free: 10.15 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004575/2.568, allocations: 1.835 MB / 0.8432 GB, free: 9.426 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007004/2.575, allocations: 4.235 MB / 0.8473 GB, free: 5.062 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007386/2.582, allocations: 2.791 MB / 0.85 GB, free: 2.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/2.582, allocations: 24 kB / 0.8501 GB, free: 2.707 MB / 474.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.02065/2.603, allocations: 6.603 MB / 0.8565 GB, free: 13.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.215e-05/2.603, allocations: 40 kB / 0.8565 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/2.603, allocations: 86.77 kB / 0.8566 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003609/2.607, allocations: 0.751 MB / 0.8574 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007809/2.615, allocations: 1.102 MB / 0.8584 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/2.627, allocations: 5.195 MB / 0.8635 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006936/2.634, allocations: 318.9 kB / 0.8638 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/2.635, allocations: 263.9 kB / 0.8641 GB, free: 6.598 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 580 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001254/2.637, allocations: 446.9 kB / 0.8645 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001394/2.638, allocations: 379.3 kB / 0.8648 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/2.652, allocations: 4.221 MB / 0.869 GB, free: 2.305 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.511e-05/2.652, allocations: 24 kB / 0.869 GB, free: 2.281 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/2.652, allocations: 8 kB / 0.869 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.438e-05/2.652, allocations: 14.72 kB / 0.869 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3939/3.046, allocations: 14.22 MB / 0.8829 GB, free: 80.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.971e-05/3.046, allocations: 10 kB / 0.8829 GB, free: 80.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004583/3.05, allocations: 474.6 kB / 0.8834 GB, free: 80.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003853/3.054, allocations: 0.6915 MB / 0.884 GB, free: 80.56 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005994/3.055, allocations: 70.33 kB / 0.8841 GB, free: 80.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/3.07, allocations: 6.928 MB / 0.8909 GB, free: 78.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002228/3.072, allocations: 1.863 MB / 0.8927 GB, free: 76.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/3.089, allocations: 7.73 MB / 0.9002 GB, free: 74.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003102/3.092, allocations: 0.7938 MB / 0.901 GB, free: 74.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001368/3.093, allocations: 61.53 kB / 0.9011 GB, free: 74.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00426/3.098, allocations: 170.9 kB / 0.9012 GB, free: 74.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007538/3.098, allocations: 217.4 kB / 0.9014 GB, free: 74.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/3.099, allocations: 86.67 kB / 0.9015 GB, free: 74.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006254/3.105, allocations: 2.432 MB / 0.9039 GB, free: 74.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.753e-06/3.105, allocations: 2.844 kB / 0.9039 GB, free: 74.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008719/3.114, allocations: 1.343 MB / 0.9052 GB, free: 74.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01879/3.133, allocations: 11.38 MB / 0.9163 GB, free: 68.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01301/3.146, allocations: 4.838 MB / 0.9211 GB, free: 68.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/3.146, allocations: 3.875 kB / 0.9211 GB, free: 68.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006366/3.152, allocations: 2.294 MB / 0.9233 GB, free: 68.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008065/3.16, allocations: 0.9107 MB / 0.9242 GB, free: 68.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03993/3.2, allocations: 12.42 MB / 0.9363 GB, free: 65.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008716/3.209, allocations: 4.613 MB / 0.9408 GB, free: 64.76 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00769/3.217, allocations: 1.357 MB / 0.9421 GB, free: 64.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005791/3.223, allocations: 2.528 MB / 0.9446 GB, free: 64.71 MB / 490.7 MB Notification: Performance of SimCode: time 1.923e-06/3.223, allocations: 2.062 kB / 0.9446 GB, free: 64.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6054/3.828, allocations: 107.9 MB / 1.05 GB, free: 53.18 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/3.828, allocations: 239.9 kB / 1.05 GB, free: 52.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/10.83, allocations: 3.266 kB / 1.05 GB, free: 52.86 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat does not exist to compare? outputFormat=mat