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.006046/0.006046, allocations: 97.69 kB / 15.73 MB, free: 6.055 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.00117/0.00117, allocations: 198.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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.0122/0.0122, allocations: 2.595 MB / 293.1 MB, free: 12.15 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 103.8 kB / 404.8 MB, free: 30.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09201, allocations: 50.04 MB / 454.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDCVoltages): time 0.007558/0.09961, allocations: 5.652 MB / 460.5 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003662/0.1033, allocations: 1.928 MB / 462.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000844/0.1042, allocations: 35.81 kB / 462.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008389/0.1051, allocations: 270 kB / 462.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.1076, allocations: 0.7617 MB / 463.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007601/0.1083, allocations: 287.6 kB / 463.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003667/0.112, allocations: 3.177 MB / 467 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003025/0.1151, allocations: 2.494 MB / 469.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.117, allocations: 1.391 MB / 470.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/0.1197, allocations: 1.651 MB / 472.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008418/0.1205, allocations: 388 kB / 472.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1217, allocations: 471.9 kB / 473.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.1233, allocations: 1.075 MB / 474.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002634/0.1259, allocations: 1.692 MB / 476.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005798/0.1317, allocations: 5.057 MB / 481.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1318, allocations: 4 kB / 481.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1318, allocations: 0 / 481.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001858/0.132, allocations: 0 / 481.2 MB, free: 1.594 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.01003/0.142, allocations: 3.707 MB / 484.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1421, allocations: 8.031 kB / 484.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008244/0.1429, allocations: 350.1 kB / 485.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007361/0.1436, allocations: 342.9 kB / 485.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/0.147, allocations: 1.926 MB / 487.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.1472, allocations: 176.6 kB / 487.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003694/0.1476, allocations: 224 kB / 487.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006503/0.1541, allocations: 3.75 MB / 491.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/0.1542, allocations: 0 / 491.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.1544, allocations: 96 kB / 491.7 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.1546, allocations: 116.6 kB / 491.8 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006643/0.1612, allocations: 3.578 MB / 495.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01975/0.181, allocations: 11.54 MB / 0.4951 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00523/0.1863, allocations: 2.894 MB / 0.4979 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002648/0.1889, allocations: 1.661 MB / 0.4995 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.1892, allocations: 107.1 kB / 0.4996 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/0.1892, allocations: 52.56 kB / 0.4997 GB, free: 2.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=169): time 4.057e-06/0.1892, allocations: 0 / 0.4997 GB, free: 2.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=169): time 0.2235/0.4127, allocations: 6.133 MB / 0.5057 GB, free: 51.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.4128, allocations: 70.58 kB / 0.5057 GB, free: 51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.4165, allocations: 2.115 MB / 0.5078 GB, free: 50.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003259/0.4169, allocations: 58.2 kB / 0.5079 GB, free: 50.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/0.4176, allocations: 1.09 MB / 0.5089 GB, free: 49.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004713/0.4181, allocations: 0.5278 MB / 0.5094 GB, free: 49.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005451/0.4186, allocations: 368.8 kB / 0.5098 GB, free: 49.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.015e-05/0.4187, allocations: 304.8 kB / 0.5101 GB, free: 48.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.4205, allocations: 1.036 MB / 0.5111 GB, free: 48.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.4226, allocations: 1.416 MB / 0.5125 GB, free: 47.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003204/0.4258, allocations: 2.311 MB / 0.5147 GB, free: 46.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.4258, allocations: 3.812 kB / 0.5147 GB, free: 46.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005151/0.431, allocations: 3.301 MB / 0.518 GB, free: 45.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.431, allocations: 15.81 kB / 0.518 GB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.431, allocations: 11.78 kB / 0.518 GB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/0.4333, allocations: 1.241 MB / 0.5192 GB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.434, allocations: 217.2 kB / 0.5194 GB, free: 44.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.4479, allocations: 17.14 MB / 0.5361 GB, free: 29.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.4496, allocations: 242.2 kB / 0.5364 GB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.4498, allocations: 75.98 kB / 0.5364 GB, free: 29.48 MB / 382.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.001291/0.4511, allocations: 1.003 MB / 0.5374 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/0.4515, allocations: 234.3 kB / 0.5376 GB, free: 28.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004839/0.4563, allocations: 3.388 MB / 0.541 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.4564, allocations: 19.98 kB / 0.541 GB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4564, allocations: 4 kB / 0.541 GB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.4564, allocations: 7.969 kB / 0.541 GB, free: 24.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009146/0.4656, allocations: 6.632 MB / 0.5475 GB, free: 18.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.4656, allocations: 7.719 kB / 0.5475 GB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.4662, allocations: 131.8 kB / 0.5476 GB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/0.4682, allocations: 1.199 MB / 0.5488 GB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.4684, allocations: 31.98 kB / 0.5488 GB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/0.4822, allocations: 16.64 MB / 0.5651 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4822, allocations: 4 kB / 0.5651 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007802/0.49, allocations: 4.782 MB / 0.5697 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/0.4915, allocations: 0.5858 MB / 0.5703 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.4918, allocations: 40 kB / 0.5703 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.4928, allocations: 123.8 kB / 0.5705 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000718/0.4936, allocations: 309.5 kB / 0.5708 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.4937, allocations: 51.98 kB / 0.5708 GB, free: 9.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002/0.4957, allocations: 1.461 MB / 0.5722 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4957, allocations: 4 kB / 0.5722 GB, free: 8.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002495/0.4982, allocations: 0.7876 MB / 0.573 GB, free: 7.332 MB / 398.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.008171/0.5064, allocations: 5.449 MB / 0.5783 GB, free: 1.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007084/0.5135, allocations: 3.632 MB / 0.5819 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/0.5136, allocations: 0 / 0.5819 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003545/0.5171, allocations: 2.371 MB / 0.5842 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.5195, allocations: 0.6215 MB / 0.5848 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03921/0.5588, allocations: 23.35 MB / 0.6076 GB, free: 3.277 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/0.5608, allocations: 2.171 MB / 0.6097 GB, free: 1.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001347/0.5621, allocations: 0.5096 MB / 0.6102 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.5633, allocations: 0.917 MB / 0.6111 GB, free: 15.64 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5633, allocations: 0 / 0.6111 GB, free: 15.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1779/0.7412, allocations: 71.9 MB / 0.6813 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.28/29.02, allocations: 11.86 kB / 0.6813 GB, free: 8.16 MB / 0.4981 GB (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)