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.058/2.058, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.434e-05, allocations: 0 / 255.5 MB, free: 2.586 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 44.5 MB / 300 MB, free: 6.02 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5227/0.6244, allocations: 142.8 MB / 442.8 MB, free: 1.219 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003838/0.6249, allocations: 100.2 kB / 442.9 MB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.078/1.703, allocations: 232.6 MB / 0.6597 GB, free: 20.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.855e-06/1.703, allocations: 0 / 0.6597 GB, free: 20.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006073/1.704, allocations: 159.9 kB / 0.6598 GB, free: 20.57 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.03251/1.736, allocations: 6.794 MB / 0.6665 GB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.736, allocations: 12.03 kB / 0.6665 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005782/1.742, allocations: 1.136 MB / 0.6676 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03139/1.773, allocations: 3.655 MB / 0.6712 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02151/1.795, allocations: 5.932 MB / 0.677 GB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008534/1.796, allocations: 0.5257 MB / 0.6775 GB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003665/1.8, allocations: 0.6874 MB / 0.6782 GB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3739/2.174, allocations: 11.24 MB / 0.6891 GB, free: 34.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006531/2.174, allocations: 21.72 kB / 0.6891 GB, free: 34.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003598/2.178, allocations: 300.6 kB / 0.6894 GB, free: 34.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001198/2.179, allocations: 492.2 kB / 0.6899 GB, free: 34.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03484/2.214, allocations: 10.4 MB / 0.7001 GB, free: 34.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1019/2.316, allocations: 38.32 MB / 0.7375 GB, free: 27.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02412/2.34, allocations: 18.38 MB / 0.7554 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01071/2.351, allocations: 4.207 MB / 0.7595 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04186/2.393, allocations: 13.66 MB / 0.7729 GB, free: 19.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.569e-05/2.393, allocations: 67.28 kB / 0.7729 GB, free: 19.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=399): time 8.035e-06/2.393, allocations: 0 / 0.7729 GB, free: 19.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.04531/2.438, allocations: 14.25 MB / 0.7869 GB, free: 12.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00302/2.441, allocations: 1.941 MB / 0.7887 GB, free: 11.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008941/2.45, allocations: 2.937 MB / 0.7916 GB, free: 10 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001052/2.451, allocations: 81.02 kB / 0.7917 GB, free: 9.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003844/2.455, allocations: 3.158 MB / 0.7948 GB, free: 7.527 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002766/2.458, allocations: 1.4 MB / 0.7961 GB, free: 6.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/2.46, allocations: 103.6 kB / 0.7962 GB, free: 6.371 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008438/2.46, allocations: 0.5235 MB / 0.7968 GB, free: 5.973 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00841/2.469, allocations: 2.843 MB / 0.7995 GB, free: 4.793 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/2.48, allocations: 4.816 MB / 0.8042 GB, free: 1.066 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/2.491, allocations: 3.789 MB / 0.8079 GB, free: 15.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-05/2.492, allocations: 19.53 kB / 0.808 GB, free: 15.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.0296/2.521, allocations: 9.129 MB / 0.8169 GB, free: 10.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.744e-05/2.521, allocations: 34.03 kB / 0.8169 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001693/2.522, allocations: 70.19 kB / 0.817 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009527/2.531, allocations: 2.469 MB / 0.8194 GB, free: 8.711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008197/2.539, allocations: 1.054 MB / 0.8204 GB, free: 7.887 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/2.552, allocations: 5.399 MB / 0.8257 GB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007366/2.56, allocations: 325 kB / 0.826 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001712/2.561, allocations: 263.3 kB / 0.8262 GB, free: 2.5 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.002972/2.564, allocations: 434.8 kB / 0.8267 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002229/2.567, allocations: 414.1 kB / 0.8271 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03421/2.601, allocations: 8.206 MB / 0.8351 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001842/2.601, allocations: 98.31 kB / 0.8352 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/2.601, allocations: 3.562 kB / 0.8352 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001045/2.601, allocations: 17.44 kB / 0.8352 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4027/3.004, allocations: 19.43 MB / 0.8542 GB, free: 76.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-05/3.004, allocations: 8.281 kB / 0.8542 GB, free: 76.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004973/3.009, allocations: 0.5269 MB / 0.8547 GB, free: 76.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009835/3.019, allocations: 2.425 MB / 0.857 GB, free: 76.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/3.02, allocations: 96.53 kB / 0.8571 GB, free: 76.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0151/3.035, allocations: 7.154 MB / 0.8641 GB, free: 74.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002599/3.038, allocations: 1.872 MB / 0.8659 GB, free: 73.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0327/3.071, allocations: 12.23 MB / 0.8779 GB, free: 71.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004614/3.075, allocations: 1.085 MB / 0.879 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002622/3.078, allocations: 67.97 kB / 0.879 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005527/3.084, allocations: 203 kB / 0.8792 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001684/3.085, allocations: 318.3 kB / 0.8795 GB, free: 71.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001204/3.087, allocations: 120.9 kB / 0.8796 GB, free: 71.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006467/3.093, allocations: 2.161 MB / 0.8817 GB, free: 71.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.565e-06/3.093, allocations: 2.406 kB / 0.8817 GB, free: 71.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009917/3.103, allocations: 1.371 MB / 0.8831 GB, free: 71.56 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.0345/3.138, allocations: 14.81 MB / 0.8975 GB, free: 68.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02067/3.158, allocations: 7.102 MB / 0.9045 GB, free: 67.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/3.159, allocations: 3.875 kB / 0.9045 GB, free: 67.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01127/3.17, allocations: 3.566 MB / 0.908 GB, free: 67.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008162/3.178, allocations: 0.8896 MB / 0.9088 GB, free: 67.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04872/3.227, allocations: 14.09 MB / 0.9226 GB, free: 65.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01081/3.238, allocations: 4.667 MB / 0.9272 GB, free: 63.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008613/3.246, allocations: 1.179 MB / 0.9283 GB, free: 63.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006914/3.253, allocations: 2.548 MB / 0.9308 GB, free: 61.19 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/3.253, allocations: 0 / 0.9308 GB, free: 61.19 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6582/3.912, allocations: 131.1 MB / 1.059 GB, free: 70.04 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/3.912, allocations: 242.6 kB / 1.059 GB, free: 69.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/11.15, allocations: 0 / 1.059 GB, free: 69.7 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