Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BLDC_BLDC.Examples.DemoBLDCVoltages.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo", uses=false) Using package BLDC with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo) 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(BLDC.Examples.DemoBLDCVoltages,fileNamePrefix="BLDC_BLDC_Examples_DemoBLDCVoltages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BLDC.Examples.DemoBLDCVoltages,fileNamePrefix="BLDC_BLDC_Examples_DemoBLDCVoltages",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.005515/0.005515, allocations: 97.38 kB / 15.73 MB, free: 6.039 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.00161/0.00161, allocations: 204.4 kB / 16.68 MB, free: 5.961 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.1349/0.1349, allocations: 2.578 MB / 293.1 MB, free: 3.438 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 91.84 kB / 404.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2967, allocations: 50.03 MB / 454.9 MB, free: 21.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDCVoltages): time 0.005995/0.3027, allocations: 5.67 MB / 460.5 MB, free: 17.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003583/0.3064, allocations: 1.918 MB / 462.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007037/0.3071, allocations: 35.75 kB / 462.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.3077, allocations: 261.4 kB / 462.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.3097, allocations: 0.7443 MB / 463.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.3103, allocations: 288.9 kB / 463.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003431/0.3137, allocations: 3.165 MB / 466.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003029/0.3168, allocations: 2.503 MB / 469.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.3191, allocations: 1.395 MB / 470.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.3221, allocations: 1.639 MB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008431/0.3229, allocations: 388.5 kB / 472.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.3243, allocations: 478.7 kB / 473.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.3254, allocations: 1.075 MB / 474.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/0.3276, allocations: 1.688 MB / 476.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006948/0.3346, allocations: 5.056 MB / 481.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3346, allocations: 0 / 481.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3346, allocations: 1.438 kB / 481.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001785/0.3348, allocations: 0 / 481.1 MB, free: 7.059 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.01024/0.345, allocations: 3.708 MB / 484.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.3451, allocations: 9.531 kB / 484.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005876/0.3457, allocations: 349.9 kB / 485.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008251/0.3465, allocations: 338.2 kB / 485.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002953/0.3495, allocations: 1.929 MB / 487.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.3496, allocations: 175.3 kB / 487.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003464/0.35, allocations: 226.1 kB / 487.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005957/0.356, allocations: 3.742 MB / 491.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.248e-05/0.356, allocations: 10.56 kB / 491.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002449/0.3563, allocations: 101.2 kB / 491.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.3564, allocations: 120.9 kB / 491.8 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007267/0.3637, allocations: 3.579 MB / 495.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0228/0.3865, allocations: 11.53 MB / 0.4951 GB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00631/0.3929, allocations: 2.891 MB / 0.4979 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003323/0.3963, allocations: 1.664 MB / 0.4995 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.3965, allocations: 107.1 kB / 0.4996 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.242e-05/0.3966, allocations: 56.55 kB / 0.4997 GB, free: 12.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=169): time 3.848e-06/0.3966, allocations: 0 / 0.4997 GB, free: 12.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=169): time 0.01656/0.4132, allocations: 6.139 MB / 0.5057 GB, free: 6.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.4133, allocations: 69.41 kB / 0.5057 GB, free: 6.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004824/0.4182, allocations: 2.116 MB / 0.5078 GB, free: 3.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003536/0.4185, allocations: 61.64 kB / 0.5078 GB, free: 3.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.4198, allocations: 1.09 MB / 0.5089 GB, free: 2.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000871/0.4207, allocations: 0.5346 MB / 0.5094 GB, free: 2.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.4217, allocations: 367.4 kB / 0.5098 GB, free: 1.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4219, allocations: 305.1 kB / 0.5101 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/0.4242, allocations: 1.038 MB / 0.5111 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/0.4269, allocations: 1.418 MB / 0.5125 GB, free: 14.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004662/0.4316, allocations: 2.312 MB / 0.5147 GB, free: 12.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/0.4317, allocations: 7.938 kB / 0.5147 GB, free: 12.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007405/0.4391, allocations: 3.296 MB / 0.518 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.4391, allocations: 8 kB / 0.518 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/0.4392, allocations: 12 kB / 0.518 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003255/0.4424, allocations: 1.242 MB / 0.5192 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4435, allocations: 211.6 kB / 0.5194 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02372/0.4673, allocations: 17.13 MB / 0.5361 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.4697, allocations: 246.5 kB / 0.5364 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005321/0.4703, allocations: 67.98 kB / 0.5364 GB, free: 5.594 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 45 (inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[5].y,inverter.andCondition_n[4].y,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[5].y,inverter.andCondition_p[4].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,electronicCommutator.fire_n[5],electronicCommutator.fire_n[4],electronicCommutator.fire_n[3],electronicCommutator.fire_n[2],electronicCommutator.fire_n[1],electronicCommutator.fire_p[5],electronicCommutator.fire_p[4],electronicCommutator.fire_p[3],electronicCommutator.fire_p[2],electronicCommutator.fire_p[1],hallSensor.yC[5],hallSensor.yC[4],hallSensor.yC[3],hallSensor.yC[2],hallSensor.yC[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(4,13), (4,13), (4,13), (4,13), (4,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002868/0.4732, allocations: 1.013 MB / 0.5374 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/0.4743, allocations: 226.6 kB / 0.5376 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008439/0.4827, allocations: 3.385 MB / 0.5409 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/0.4828, allocations: 19.98 kB / 0.5409 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.4828, allocations: 3.938 kB / 0.5409 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-05/0.4829, allocations: 11.91 kB / 0.541 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.4984, allocations: 6.64 MB / 0.5474 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.4984, allocations: 0 / 0.5474 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007085/0.4992, allocations: 143.7 kB / 0.5476 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00307/0.5022, allocations: 1.197 MB / 0.5488 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002564/0.5025, allocations: 31.98 kB / 0.5488 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.023/0.5255, allocations: 16.64 MB / 0.565 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5256, allocations: 0 / 0.565 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.5363, allocations: 4.789 MB / 0.5697 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/0.5382, allocations: 0.5929 MB / 0.5703 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008401/0.5391, allocations: 28 kB / 0.5703 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/0.5408, allocations: 123.8 kB / 0.5704 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/0.5419, allocations: 321.5 kB / 0.5707 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002314/0.5421, allocations: 51.98 kB / 0.5708 GB, free: 1.512 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003441/0.5456, allocations: 1.457 MB / 0.5722 GB, free: 32 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5456, allocations: 0 / 0.5722 GB, free: 32 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.004465/0.5501, allocations: 0.7799 MB / 0.573 GB, free: 15.25 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 45 (hallSensor.yC[1],hallSensor.yC[2],hallSensor.yC[3],hallSensor.yC[4],hallSensor.yC[5],electronicCommutator.fire_p[1],electronicCommutator.fire_p[2],electronicCommutator.fire_p[3],electronicCommutator.fire_p[4],electronicCommutator.fire_p[5],electronicCommutator.fire_n[1],electronicCommutator.fire_n[2],electronicCommutator.fire_n[3],electronicCommutator.fire_n[4],electronicCommutator.fire_n[5],inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(4,12), (4,12), (4,12), (4,12), (4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01109/0.5612, allocations: 5.453 MB / 0.5783 GB, free: 9.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007592/0.5688, allocations: 3.624 MB / 0.5818 GB, free: 6.062 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.5689, allocations: 4 kB / 0.5818 GB, free: 6.059 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004548/0.5734, allocations: 2.378 MB / 0.5842 GB, free: 3.617 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004068/0.5775, allocations: 0.6148 MB / 0.5848 GB, free: 3.004 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.323/0.9005, allocations: 23.33 MB / 0.6075 GB, free: 106.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002733/0.9033, allocations: 2.177 MB / 0.6097 GB, free: 105.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001785/0.9051, allocations: 0.5103 MB / 0.6102 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/0.9063, allocations: 0.9126 MB / 0.6111 GB, free: 105 MB / 462.1 MB Notification: Performance of SimCode: time 2.124e-06/0.9063, allocations: 1.188 kB / 0.6111 GB, free: 105 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/1.031, allocations: 71.91 MB / 0.6813 GB, free: 43.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 29.4/30.43, allocations: 0.6562 kB / 0.6813 GB, free: 43.66 MB / 462.1 MB (rm -f BLDC_BLDC.Examples.DemoBLDCVoltages.pipe ; mkfifo BLDC_BLDC.Examples.DemoBLDCVoltages.pipe ; head -c 1048576 < BLDC_BLDC.Examples.DemoBLDCVoltages.pipe >> ../files/BLDC_BLDC.Examples.DemoBLDCVoltages.sim & python3 -m fmpy simulate --output-file BLDC_BLDC.Examples.DemoBLDCVoltages_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.00001e-05 BLDC_BLDC_Examples_DemoBLDCVoltages.fmu > BLDC_BLDC.Examples.DemoBLDCVoltages.pipe 2>&1)