Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_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.001122/0.001122, allocations: 109.2 kB / 17.73 MB, free: 5.289 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.001164/0.001164, allocations: 188.2 kB / 18.66 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 51.94 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08464/0.08579, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking): time 0.183/0.2688, allocations: 11.43 MB / 386.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006228/0.2751, allocations: 3.767 MB / 389.9 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.2766, allocations: 59.25 kB / 389.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.2786, allocations: 0.8292 MB / 390.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.2814, allocations: 0.9293 MB / 391.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.2826, allocations: 498.5 kB / 392.2 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003786/0.2864, allocations: 3.345 MB / 395.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.2893, allocations: 2.544 MB / 398 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/0.2918, allocations: 1.459 MB / 399.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003244/0.2951, allocations: 1.802 MB / 401.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008378/0.2959, allocations: 392.9 kB / 401.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.2973, allocations: 483.9 kB / 402.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.2986, allocations: 1.081 MB / 403.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002839/0.3015, allocations: 1.755 MB / 405 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005671/0.3072, allocations: 5.12 MB / 410.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3072, allocations: 5 kB / 410.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3072, allocations: 0 / 410.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001126/0.3073, allocations: 1.312 kB / 410.1 MB, free: 9.867 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.008851/0.3162, allocations: 3.469 MB / 413.6 MB, free: 7.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.3163, allocations: 9.531 kB / 413.6 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005514/0.3168, allocations: 363.2 kB / 414 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.3177, allocations: 347.2 kB / 414.3 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/0.3212, allocations: 1.795 MB / 416.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.3213, allocations: 194.9 kB / 416.3 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003807/0.3217, allocations: 250.1 kB / 416.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005507/0.3272, allocations: 3.417 MB / 419.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.812e-05/0.3273, allocations: 4 kB / 419.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/0.3276, allocations: 96 kB / 420 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.3277, allocations: 124.8 kB / 420.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004672/0.3324, allocations: 2.927 MB / 423.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.3492, allocations: 10.79 MB / 433.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/0.352, allocations: 2.418 MB / 436.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.3537, allocations: 1.176 MB / 437.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.354, allocations: 122.4 kB / 437.6 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.3541, allocations: 51.88 kB / 437.6 MB, free: 264 kB / 350.1 MB Notification: Performance of pre-optimization done (n=133): time 2.956e-06/0.3541, allocations: 0 / 437.6 MB, free: 264 kB / 350.1 MB Notification: Performance of matching and sorting (n=147): time 0.02302/0.3771, allocations: 7.251 MB / 444.9 MB, free: 8.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/0.3772, allocations: 98.36 kB / 445 MB, free: 8.766 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004429/0.3817, allocations: 1.834 MB / 446.8 MB, free: 6.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003568/0.3821, allocations: 57.7 kB / 446.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.3833, allocations: 1.214 MB / 448.1 MB, free: 5.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006766/0.384, allocations: 0.4968 MB / 448.6 MB, free: 5.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007198/0.3847, allocations: 311.2 kB / 448.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3848, allocations: 301.1 kB / 449.2 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/0.3869, allocations: 0.8558 MB / 450 MB, free: 3.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/0.3893, allocations: 1.322 MB / 451.4 MB, free: 2.148 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004537/0.3939, allocations: 2.257 MB / 453.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.3939, allocations: 4 kB / 453.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.007406/0.4013, allocations: 2.864 MB / 456.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.4014, allocations: 8 kB / 456.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/0.4014, allocations: 20 kB / 456.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/0.4038, allocations: 0.6723 MB / 457.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/0.4058, allocations: 359.4 kB / 457.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/0.4194, allocations: 9.064 MB / 466.6 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/0.4224, allocations: 107.9 kB / 466.7 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004533/0.4229, allocations: 75.92 kB / 466.8 MB, free: 2.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004523/0.4274, allocations: 1.589 MB / 468.4 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002702/0.4302, allocations: 1.307 MB / 469.7 MB, free: 14.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004486/0.4347, allocations: 2.229 MB / 471.9 MB, free: 12.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.737e-05/0.4347, allocations: 8 kB / 471.9 MB, free: 12.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=218) (initialization_lambda0): time 0.007496/0.4422, allocations: 2.841 MB / 474.8 MB, free: 9.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.4423, allocations: 15.28 kB / 474.8 MB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.4423, allocations: 15.94 kB / 474.8 MB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/0.4447, allocations: 0.6591 MB / 475.5 MB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.4465, allocations: 355.4 kB / 475.8 MB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/0.4602, allocations: 9.053 MB / 484.9 MB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.462, allocations: 103.9 kB / 485 MB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/0.4623, allocations: 68 kB / 485 MB, free: 15 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (181): * Single equations (assignments): 177 * 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 {(2,9,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.0005513/0.4629, allocations: 295.7 kB / 485.3 MB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006231/0.4635, allocations: 201.6 kB / 485.5 MB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004723/0.4683, allocations: 2.559 MB / 488.1 MB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.4683, allocations: 16 kB / 488.1 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.4683, allocations: 4 kB / 488.1 MB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.4683, allocations: 7.969 kB / 488.1 MB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.4787, allocations: 5.392 MB / 493.5 MB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.4787, allocations: 7.984 kB / 493.5 MB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009681/0.4797, allocations: 219.7 kB / 493.7 MB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.4814, allocations: 0.6945 MB / 494.4 MB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.4816, allocations: 35.98 kB / 494.4 MB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.4927, allocations: 10.64 MB / 0.4932 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.4927, allocations: 7.938 kB / 0.4932 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006299/0.499, allocations: 3.744 MB / 0.4969 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/0.5005, allocations: 470.5 kB / 0.4974 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000664/0.5012, allocations: 35.98 kB / 0.4974 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.5027, allocations: 91.89 kB / 0.4975 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003561/0.5031, allocations: 121 kB / 0.4976 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.5032, allocations: 40 kB / 0.4976 GB, free: 5.652 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002553/0.5058, allocations: 1.264 MB / 0.4989 GB, free: 4.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5058, allocations: 4 kB / 0.4989 GB, free: 4.395 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004511/0.5103, allocations: 0.9961 MB / 0.4998 GB, free: 3.398 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smpm.inertiaRotor.w,smpm.i_0_s,smpm.idq_sr[1],smpm.idq_sr[2],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 (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,9,100.0%), (1,1,100.0%), (2,1,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.006297/0.5166, allocations: 4.408 MB / 0.5041 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00672/0.5234, allocations: 4.525 MB / 0.5086 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.5234, allocations: 0 / 0.5086 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002414/0.5258, allocations: 1.728 MB / 0.5103 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/0.5293, allocations: 0.6207 MB / 0.5109 GB, free: 7.883 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04116/0.5705, allocations: 21.03 MB / 0.5314 GB, free: 2.176 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002853/0.5734, allocations: 2.095 MB / 0.5334 GB, free: 48 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002165/0.5756, allocations: 0.5951 MB / 0.534 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/0.5773, allocations: 0.9718 MB / 0.535 GB, free: 14.48 MB / 478.1 MB Notification: Performance of SimCode: time 1.193e-06/0.5773, allocations: 0 / 0.535 GB, free: 14.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3102/0.8875, allocations: 63.39 MB / 0.5969 GB, free: 127.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.95, allocations: 7.969 kB / 0.5969 GB, free: 127.6 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.pipe 2>&1)