Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.404e-05, allocations: 4 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09736, allocations: 47.57 MB / 317 MB, free: 6.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5138/0.6112, allocations: 149 MB / 466 MB, free: 3.699 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003804/0.6117, allocations: 97.62 kB / 466.1 MB, free: 3.648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.408/2.019, allocations: 232.1 MB / 0.6818 GB, free: 38.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/2.019, allocations: 1.344 kB / 0.6818 GB, free: 38.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008635/2.02, allocations: 158.8 kB / 0.682 GB, free: 38.28 MB / 426.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.03641/2.057, allocations: 6.788 MB / 0.6886 GB, free: 36.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/2.057, allocations: 11.81 kB / 0.6886 GB, free: 36.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006807/2.064, allocations: 1.142 MB / 0.6897 GB, free: 36.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03369/2.097, allocations: 3.66 MB / 0.6933 GB, free: 36.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02336/2.121, allocations: 5.919 MB / 0.6991 GB, free: 35.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001079/2.122, allocations: 0.5256 MB / 0.6996 GB, free: 35.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004019/2.126, allocations: 0.697 MB / 0.7003 GB, free: 35.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04044/2.166, allocations: 11.24 MB / 0.7113 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006503/2.167, allocations: 13.44 kB / 0.7113 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003576/2.171, allocations: 302.1 kB / 0.7116 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008546/2.172, allocations: 492.4 kB / 0.712 GB, free: 34.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03308/2.205, allocations: 10.4 MB / 0.7222 GB, free: 34.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1006/2.305, allocations: 38.32 MB / 0.7596 GB, free: 21.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02426/2.33, allocations: 18.36 MB / 0.7775 GB, free: 6.281 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01073/2.341, allocations: 4.201 MB / 0.7816 GB, free: 4.504 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04169/2.382, allocations: 13.67 MB / 0.795 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.484e-05/2.382, allocations: 68.53 kB / 0.7951 GB, free: 13.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=399): time 8.176e-06/2.383, allocations: 0 / 0.7951 GB, free: 13.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=415): time 0.04743/2.43, allocations: 14.24 MB / 0.809 GB, free: 6.949 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003095/2.433, allocations: 1.936 MB / 0.8108 GB, free: 5.227 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008987/2.442, allocations: 2.934 MB / 0.8137 GB, free: 3.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001074/2.443, allocations: 85.7 kB / 0.8138 GB, free: 3.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003794/2.447, allocations: 3.155 MB / 0.8169 GB, free: 448 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002814/2.45, allocations: 1.405 MB / 0.8182 GB, free: 15.17 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/2.451, allocations: 104 kB / 0.8183 GB, free: 15.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008548/2.452, allocations: 0.5234 MB / 0.8189 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008829/2.461, allocations: 2.847 MB / 0.8216 GB, free: 12.04 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01119/2.472, allocations: 4.814 MB / 0.8263 GB, free: 6.688 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/2.483, allocations: 3.757 MB / 0.83 GB, free: 3.488 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.659e-05/2.484, allocations: 20 kB / 0.83 GB, free: 3.469 MB / 458.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.03108/2.515, allocations: 9.108 MB / 0.8389 GB, free: 11.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/2.515, allocations: 39.78 kB / 0.839 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/2.515, allocations: 64 kB / 0.839 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009684/2.525, allocations: 2.469 MB / 0.8414 GB, free: 9.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008234/2.533, allocations: 1.047 MB / 0.8425 GB, free: 8.664 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/2.546, allocations: 5.414 MB / 0.8477 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007187/2.553, allocations: 311.6 kB / 0.848 GB, free: 3.531 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001742/2.555, allocations: 273.4 kB / 0.8483 GB, free: 3.281 MB / 474.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.002946/2.558, allocations: 443.9 kB / 0.8487 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002183/2.56, allocations: 410.4 kB / 0.8491 GB, free: 2.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3728/2.933, allocations: 7.91 MB / 0.8568 GB, free: 79.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001569/2.933, allocations: 95.53 kB / 0.8569 GB, free: 79.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/2.933, allocations: 8.156 kB / 0.8569 GB, free: 79.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.624e-05/2.933, allocations: 17.11 kB / 0.8569 GB, free: 79.92 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05192/2.985, allocations: 19.41 MB / 0.8759 GB, free: 79.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.241e-05/2.985, allocations: 6.25 kB / 0.8759 GB, free: 79.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004525/2.99, allocations: 0.5302 MB / 0.8764 GB, free: 79.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007686/2.998, allocations: 2.426 MB / 0.8788 GB, free: 78.99 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008524/2.999, allocations: 92.28 kB / 0.8789 GB, free: 78.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/3.01, allocations: 7.153 MB / 0.8859 GB, free: 76.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002167/3.012, allocations: 1.876 MB / 0.8877 GB, free: 75.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02604/3.038, allocations: 12.22 MB / 0.8996 GB, free: 73.94 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004054/3.042, allocations: 1.077 MB / 0.9007 GB, free: 73.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001876/3.044, allocations: 77.11 kB / 0.9008 GB, free: 73.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005159/3.049, allocations: 202.9 kB / 0.901 GB, free: 73.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001605/3.051, allocations: 321.7 kB / 0.9013 GB, free: 73.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001013/3.052, allocations: 125.4 kB / 0.9014 GB, free: 73.83 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005983/3.058, allocations: 2.157 MB / 0.9035 GB, free: 73.67 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.695e-06/3.058, allocations: 0 / 0.9035 GB, free: 73.67 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008567/3.067, allocations: 1.375 MB / 0.9048 GB, free: 73.67 MB / 474.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.03036/3.097, allocations: 14.82 MB / 0.9193 GB, free: 68.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01857/3.116, allocations: 7.109 MB / 0.9262 GB, free: 65.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/3.116, allocations: 3.75 kB / 0.9262 GB, free: 65.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0102/3.126, allocations: 3.564 MB / 0.9297 GB, free: 64.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00742/3.134, allocations: 0.8971 MB / 0.9306 GB, free: 63.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04024/3.174, allocations: 14.12 MB / 0.9444 GB, free: 58.12 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007697/3.182, allocations: 4.671 MB / 0.9489 GB, free: 56.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006683/3.188, allocations: 1.178 MB / 0.9501 GB, free: 56.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005611/3.194, allocations: 2.552 MB / 0.9526 GB, free: 54.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.643e-06/3.194, allocations: 0 / 0.9526 GB, free: 54.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7347/3.929, allocations: 131.2 MB / 1.081 GB, free: 73.3 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/3.929, allocations: 265 kB / 1.081 GB, free: 72.95 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/10.97, allocations: 3.953 kB / 1.081 GB, free: 72.95 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat does not exist to compare? outputFormat=mat