Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.034/2.034, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.816e-05/4.876e-05, allocations: 0 / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 44.51 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5002/0.6169, allocations: 142.8 MB / 442.8 MB, free: 3.273 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/0.6173, allocations: 99.62 kB / 442.9 MB, free: 3.219 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127/1.744, allocations: 232.6 MB / 0.6597 GB, free: 22.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.744, allocations: 0 / 0.6597 GB, free: 22.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005584/1.745, allocations: 159.9 kB / 0.6598 GB, free: 22.55 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: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02965/1.774, allocations: 6.79 MB / 0.6664 GB, free: 15.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/1.774, allocations: 8.031 kB / 0.6664 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00812/1.783, allocations: 1.144 MB / 0.6676 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0333/1.816, allocations: 3.655 MB / 0.6711 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02026/1.836, allocations: 5.94 MB / 0.6769 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007805/1.837, allocations: 0.5217 MB / 0.6774 GB, free: 4.301 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003305/1.84, allocations: 0.6874 MB / 0.6781 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3587/2.199, allocations: 11.32 MB / 0.6892 GB, free: 34.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005199/2.2, allocations: 15.77 kB / 0.6892 GB, free: 34.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002912/2.203, allocations: 298 kB / 0.6895 GB, free: 34.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009309/2.204, allocations: 493.7 kB / 0.6899 GB, free: 34.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03389/2.237, allocations: 10.49 MB / 0.7002 GB, free: 34.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09649/2.334, allocations: 38.33 MB / 0.7376 GB, free: 28.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0232/2.357, allocations: 18.41 MB / 0.7556 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009999/2.367, allocations: 4.201 MB / 0.7597 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03768/2.405, allocations: 13.67 MB / 0.7731 GB, free: 20.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.616e-05/2.405, allocations: 78.34 kB / 0.7731 GB, free: 20.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=399): time 7.484e-06/2.405, allocations: 1.594 kB / 0.7731 GB, free: 20.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.04345/2.449, allocations: 14.25 MB / 0.787 GB, free: 13.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004606/2.453, allocations: 1.94 MB / 0.7889 GB, free: 11.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/2.465, allocations: 2.926 MB / 0.7918 GB, free: 10.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001319/2.467, allocations: 82.23 kB / 0.7919 GB, free: 10.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005161/2.472, allocations: 3.172 MB / 0.795 GB, free: 8.316 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002634/2.475, allocations: 1.392 MB / 0.7963 GB, free: 7.242 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008738/2.476, allocations: 106.1 kB / 0.7964 GB, free: 7.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006757/2.476, allocations: 0.5224 MB / 0.7969 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007806/2.484, allocations: 2.846 MB / 0.7997 GB, free: 5.582 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01033/2.494, allocations: 4.847 MB / 0.8045 GB, free: 1.836 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/2.505, allocations: 3.751 MB / 0.8081 GB, free: 388 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-05/2.505, allocations: 20.75 kB / 0.8081 GB, free: 388 kB / 426.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.03096/2.536, allocations: 9.516 MB / 0.8174 GB, free: 13.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.414e-05/2.536, allocations: 32 kB / 0.8175 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/2.536, allocations: 64 kB / 0.8175 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008993/2.545, allocations: 2.475 MB / 0.8199 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007985/2.553, allocations: 1.052 MB / 0.821 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/2.565, allocations: 5.409 MB / 0.8263 GB, free: 5.516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006795/2.572, allocations: 320 kB / 0.8266 GB, free: 5.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/2.573, allocations: 266.7 kB / 0.8268 GB, free: 5.004 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 538 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 0 * Non-linear torn systems: 2 {6 9,11 79} Notification: Performance of prepare postOptimizeDAE: time 0.002118/2.575, allocations: 430.7 kB / 0.8272 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001784/2.577, allocations: 414.7 kB / 0.8276 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03307/2.61, allocations: 8.249 MB / 0.8357 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001646/2.61, allocations: 95.83 kB / 0.8358 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/2.611, allocations: 3.875 kB / 0.8358 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.455e-05/2.611, allocations: 18.33 kB / 0.8358 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3989/3.01, allocations: 19.46 MB / 0.8548 GB, free: 76.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.711e-05/3.01, allocations: 6.781 kB / 0.8548 GB, free: 76.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005019/3.015, allocations: 0.529 MB / 0.8553 GB, free: 76.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009148/3.024, allocations: 2.427 MB / 0.8577 GB, free: 76.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/3.025, allocations: 93.69 kB / 0.8578 GB, free: 76.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/3.04, allocations: 7.15 MB / 0.8648 GB, free: 74.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002541/3.042, allocations: 1.876 MB / 0.8666 GB, free: 72.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02968/3.072, allocations: 12.23 MB / 0.8785 GB, free: 71.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004429/3.076, allocations: 1.082 MB / 0.8796 GB, free: 71.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002322/3.079, allocations: 69.69 kB / 0.8797 GB, free: 71.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005583/3.084, allocations: 205.1 kB / 0.8798 GB, free: 71.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001799/3.086, allocations: 319.5 kB / 0.8802 GB, free: 71.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006397/3.087, allocations: 122.7 kB / 0.8803 GB, free: 71.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006072/3.093, allocations: 2.155 MB / 0.8824 GB, free: 71.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.104e-06/3.093, allocations: 0 / 0.8824 GB, free: 71.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008713/3.102, allocations: 1.373 MB / 0.8837 GB, free: 71.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (281): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 0 * Non-linear torn systems: 3 {3 3,6 9,11 79} Notification: Performance of Backend phase and start with SimCode phase: time 0.03119/3.133, allocations: 14.79 MB / 0.8982 GB, free: 67.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01962/3.153, allocations: 7.233 MB / 0.9052 GB, free: 67.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/3.153, allocations: 0 / 0.9052 GB, free: 67.51 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01104/3.164, allocations: 3.594 MB / 0.9087 GB, free: 67.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007954/3.172, allocations: 0.891 MB / 0.9096 GB, free: 67.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0449/3.217, allocations: 14.13 MB / 0.9234 GB, free: 64.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008481/3.225, allocations: 4.673 MB / 0.928 GB, free: 63.92 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007299/3.233, allocations: 1.179 MB / 0.9291 GB, free: 63.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006222/3.239, allocations: 2.554 MB / 0.9316 GB, free: 61.82 MB / 458.7 MB Notification: Performance of SimCode: time 1.353e-06/3.239, allocations: 0 / 0.9316 GB, free: 61.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6941/3.933, allocations: 131.6 MB / 1.06 GB, free: 69.61 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/3.933, allocations: 244.6 kB / 1.06 GB, free: 69.28 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/11.13, allocations: 3.906 kB / 1.06 GB, free: 69.27 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat does not exist to compare? outputFormat=mat