Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_Braking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_Braking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 110.1 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 189.4 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001668, allocations: 47.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2923, allocations: 49.43 MB / 400.2 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking): time 0.01803/0.3103, allocations: 15.66 MB / 415.9 MB, free: 9.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.3211, allocations: 5.185 MB / 421.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.3239, allocations: 91.69 kB / 421.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.3271, allocations: 1.075 MB / 422.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004453/0.3316, allocations: 1.316 MB / 423.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.334, allocations: 0.9244 MB / 424.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005507/0.3395, allocations: 4.019 MB / 428.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.3435, allocations: 3.191 MB / 431.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.3464, allocations: 1.815 MB / 433.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.3496, allocations: 2.098 MB / 435.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001294/0.3509, allocations: 0.4922 MB / 436.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.3532, allocations: 0.6833 MB / 436.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.3547, allocations: 1.157 MB / 437.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003087/0.3578, allocations: 2.116 MB / 440.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008292/0.3661, allocations: 6.536 MB / 446.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3661, allocations: 0 / 446.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3661, allocations: 0 / 446.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002017/0.3663, allocations: 0 / 446.6 MB, free: 10.34 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 818 * Number of variables: 818 Notification: Performance of Generate backend data structure: time 0.01084/0.3772, allocations: 4.421 MB / 451 MB, free: 5.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3772, allocations: 11.89 kB / 451 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005852/0.3778, allocations: 455.1 kB / 451.5 MB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/0.3805, allocations: 0.6427 MB / 452.1 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004061/0.3846, allocations: 2.369 MB / 454.5 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.3848, allocations: 238.2 kB / 454.7 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004669/0.3853, allocations: 315.9 kB / 455 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007043/0.3923, allocations: 4.177 MB / 459.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.621e-05/0.3924, allocations: 8 kB / 459.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/0.3927, allocations: 132 kB / 459.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/0.3929, allocations: 142 kB / 459.5 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006137/0.399, allocations: 3.572 MB / 463.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02125/0.4203, allocations: 13.59 MB / 476.6 MB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006269/0.4266, allocations: 5.906 MB / 482.5 MB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002372/0.429, allocations: 1.366 MB / 483.9 MB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00653/0.4355, allocations: 3.163 MB / 487.1 MB, free: 468 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.4356, allocations: 51.88 kB / 487.1 MB, free: 408 kB / 398.1 MB Notification: Performance of pre-optimization done (n=138): time 3.727e-06/0.4356, allocations: 0 / 487.1 MB, free: 408 kB / 398.1 MB Notification: Performance of matching and sorting (n=142): time 0.014/0.4496, allocations: 6.693 MB / 493.8 MB, free: 9.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.4497, allocations: 94.36 kB / 493.9 MB, free: 9.402 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/0.4529, allocations: 1.934 MB / 495.8 MB, free: 7.426 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.453, allocations: 53.7 kB / 495.9 MB, free: 7.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.4542, allocations: 1.49 MB / 497.4 MB, free: 5.867 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/0.4547, allocations: 0.4997 MB / 497.9 MB, free: 5.363 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000504/0.4552, allocations: 327.4 kB / 498.2 MB, free: 5.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4553, allocations: 301.1 kB / 498.5 MB, free: 4.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.4566, allocations: 0.766 MB / 499.3 MB, free: 3.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.4584, allocations: 1.294 MB / 0.4888 GB, free: 2.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/0.4615, allocations: 2.13 MB / 0.4909 GB, free: 80 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.4615, allocations: 11.94 kB / 0.4909 GB, free: 68 kB / 414.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004965/0.4665, allocations: 2.746 MB / 0.4936 GB, free: 13.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.4665, allocations: 12 kB / 0.4936 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/0.4666, allocations: 20 kB / 0.4936 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.4679, allocations: 0.5227 MB / 0.4941 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.4692, allocations: 363.4 kB / 0.4945 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009774/0.479, allocations: 7.92 MB / 0.5022 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/0.4815, allocations: 95.97 kB / 0.5023 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002626/0.4818, allocations: 76 kB / 0.5024 GB, free: 3.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003299/0.4851, allocations: 1.624 MB / 0.504 GB, free: 2.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001743/0.4869, allocations: 1.283 MB / 0.5052 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003009/0.4899, allocations: 2.114 MB / 0.5073 GB, free: 14.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.168e-05/0.4899, allocations: 7.938 kB / 0.5073 GB, free: 14.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.004778/0.4947, allocations: 2.723 MB / 0.51 GB, free: 11.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.4948, allocations: 15.98 kB / 0.51 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/0.4948, allocations: 20 kB / 0.51 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.4961, allocations: 0.5195 MB / 0.5105 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.4974, allocations: 363.6 kB / 0.5108 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008842/0.5063, allocations: 7.927 MB / 0.5186 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.5082, allocations: 87.92 kB / 0.5187 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/0.5084, allocations: 72 kB / 0.5187 GB, free: 2.164 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (diodeBridge2mPulse.diode_n.idealDiode[3].off,diodeBridge2mPulse.diode_n.idealDiode[2].off,diodeBridge2mPulse.diode_n.idealDiode[1].off,diodeBridge2mPulse.diode_p.idealDiode[3].off,diodeBridge2mPulse.diode_p.idealDiode[2].off,diodeBridge2mPulse.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0005572/0.509, allocations: 303.7 kB / 0.519 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004068/0.5094, allocations: 222.6 kB / 0.5192 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/0.5142, allocations: 2.494 MB / 0.5217 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.5142, allocations: 16 kB / 0.5217 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/0.5143, allocations: 8.125 kB / 0.5217 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.5143, allocations: 11.8 kB / 0.5217 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009189/0.5235, allocations: 5.32 MB / 0.5269 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.5235, allocations: 0 / 0.5269 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008127/0.5243, allocations: 175.8 kB / 0.5271 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/0.5261, allocations: 0.6643 MB / 0.5277 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.5262, allocations: 28.19 kB / 0.5278 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2591/0.7852, allocations: 12.38 MB / 0.5398 GB, free: 126 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.7853, allocations: 6.984 kB / 0.5398 GB, free: 126 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005168/0.7905, allocations: 3.639 MB / 0.5434 GB, free: 124.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009966/0.7915, allocations: 476 kB / 0.5439 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.7917, allocations: 29.78 kB / 0.5439 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009237/0.7927, allocations: 77.8 kB / 0.544 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/0.793, allocations: 123 kB / 0.5441 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.728e-05/0.7931, allocations: 45.03 kB / 0.5441 GB, free: 124.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001705/0.7948, allocations: 1.32 MB / 0.5454 GB, free: 124 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.7948, allocations: 3.781 kB / 0.5454 GB, free: 124 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003028/0.7978, allocations: 1.06 MB / 0.5464 GB, free: 123.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 5 (smpm.inertiaRotor.w,smpm.stator.zeroInductor.i0,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,inertiaLoad.phi) * Number of discrete variables: 6 (diodeBridge2mPulse.diode_p.idealDiode[1].off,diodeBridge2mPulse.diode_p.idealDiode[2].off,diodeBridge2mPulse.diode_p.idealDiode[3].off,diodeBridge2mPulse.diode_n.idealDiode[1].off,diodeBridge2mPulse.diode_n.idealDiode[2].off,diodeBridge2mPulse.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,1,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004887/0.8027, allocations: 4.262 MB / 0.5506 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005507/0.8083, allocations: 4.234 MB / 0.5547 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.8083, allocations: 0.5625 kB / 0.5547 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002113/0.8104, allocations: 1.81 MB / 0.5565 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/0.8136, allocations: 0.6505 MB / 0.5571 GB, free: 117.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02862/0.8422, allocations: 21.29 MB / 0.5779 GB, free: 96.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.8439, allocations: 2.319 MB / 0.5802 GB, free: 93.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001637/0.8455, allocations: 0.5294 MB / 0.5807 GB, free: 93.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.8467, allocations: 1.148 MB / 0.5818 GB, free: 92.21 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8467, allocations: 0 / 0.5818 GB, free: 92.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1402/0.9869, allocations: 62.33 MB / 0.6427 GB, free: 30.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/16.86, allocations: 9.641 kB / 0.6427 GB, free: 30.52 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking_res.csv --start-time 0 --stop-time 0.8 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_Braking.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe 2>&1)