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.009189/0.009189, allocations: 96.55 kB / 15.73 MB, free: 5.988 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.001849/0.001849, allocations: 188 kB / 16.67 MB, free: 5.918 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.18/0.18, allocations: 2.574 MB / 293.1 MB, free: 3.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 99.81 kB / 404.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.287, allocations: 50.03 MB / 454.9 MB, free: 21.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDCVoltages): time 0.005768/0.2928, allocations: 5.666 MB / 460.5 MB, free: 17.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.2962, allocations: 1.91 MB / 462.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004403/0.2967, allocations: 39.12 kB / 462.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.2972, allocations: 270.6 kB / 462.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.2988, allocations: 0.7549 MB / 463.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.2993, allocations: 291.8 kB / 463.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003044/0.3023, allocations: 3.168 MB / 467 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/0.3048, allocations: 2.499 MB / 469.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.3067, allocations: 1.395 MB / 470.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.3088, allocations: 1.648 MB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005817/0.3094, allocations: 388.7 kB / 472.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009199/0.3104, allocations: 470.9 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009402/0.3113, allocations: 1.075 MB / 474.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.3131, allocations: 1.688 MB / 476.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006232/0.3194, allocations: 5.064 MB / 481.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3194, allocations: 0 / 481.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3195, allocations: 0 / 481.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001742/0.3196, allocations: 0 / 481.2 MB, free: 7.055 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.009518/0.3292, allocations: 3.701 MB / 484.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3292, allocations: 13.88 kB / 484.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000565/0.3298, allocations: 356.5 kB / 485.2 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007701/0.3306, allocations: 331.6 kB / 485.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/0.3336, allocations: 1.929 MB / 487.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.3337, allocations: 174.8 kB / 487.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003751/0.3341, allocations: 230.1 kB / 487.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007068/0.3412, allocations: 3.746 MB / 491.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.425e-05/0.3413, allocations: 5.938 kB / 491.6 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.3416, allocations: 98.22 kB / 491.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/0.3418, allocations: 115.9 kB / 491.8 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008035/0.3498, allocations: 3.578 MB / 495.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02087/0.3707, allocations: 11.54 MB / 0.4951 GB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005186/0.376, allocations: 2.891 MB / 0.4979 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.3787, allocations: 1.668 MB / 0.4995 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.3789, allocations: 103.1 kB / 0.4996 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.379, allocations: 56.64 kB / 0.4997 GB, free: 12.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=169): time 3.627e-06/0.379, allocations: 3.938 kB / 0.4997 GB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=169): time 0.01415/0.3932, allocations: 6.131 MB / 0.5057 GB, free: 6.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.3933, allocations: 69.41 kB / 0.5057 GB, free: 6.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.3965, allocations: 2.108 MB / 0.5078 GB, free: 3.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.3968, allocations: 53.7 kB / 0.5078 GB, free: 3.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009012/0.3977, allocations: 1.098 MB / 0.5089 GB, free: 2.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004885/0.3982, allocations: 0.5307 MB / 0.5094 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005836/0.3987, allocations: 367.4 kB / 0.5098 GB, free: 1.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3989, allocations: 305.1 kB / 0.5101 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.4008, allocations: 1.038 MB / 0.5111 GB, free: 0.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.4028, allocations: 1.426 MB / 0.5125 GB, free: 14.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/0.4064, allocations: 2.308 MB / 0.5147 GB, free: 12.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.4064, allocations: 4 kB / 0.5147 GB, free: 12.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006257/0.4127, allocations: 3.304 MB / 0.518 GB, free: 9.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.4127, allocations: 11.94 kB / 0.518 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.4128, allocations: 12 kB / 0.518 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002767/0.4155, allocations: 1.247 MB / 0.5192 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.4166, allocations: 207.6 kB / 0.5194 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.4354, allocations: 17.13 MB / 0.5361 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/0.438, allocations: 250.5 kB / 0.5364 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000304/0.4383, allocations: 71.98 kB / 0.5364 GB, free: 5.57 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.002072/0.4404, allocations: 1.001 MB / 0.5374 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007217/0.4411, allocations: 222.6 kB / 0.5376 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006506/0.4476, allocations: 3.393 MB / 0.5409 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.4477, allocations: 16 kB / 0.541 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4477, allocations: 7.922 kB / 0.541 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.4477, allocations: 7.969 kB / 0.541 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.4587, allocations: 6.648 MB / 0.5475 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.4588, allocations: 0 / 0.5475 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/0.4594, allocations: 135.7 kB / 0.5476 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/0.4619, allocations: 1.204 MB / 0.5488 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.462, allocations: 31.98 kB / 0.5488 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01791/0.4799, allocations: 16.64 MB / 0.5651 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.48, allocations: 0 / 0.5651 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00889/0.4889, allocations: 4.793 MB / 0.5697 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002276/0.4912, allocations: 0.5929 MB / 0.5703 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006813/0.4919, allocations: 24 kB / 0.5703 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.4933, allocations: 131.8 kB / 0.5705 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009442/0.4942, allocations: 309.5 kB / 0.5708 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.4944, allocations: 51.98 kB / 0.5708 GB, free: 1.488 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002707/0.4971, allocations: 1.465 MB / 0.5722 GB, free: 0 / 446.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4971, allocations: 0 / 0.5722 GB, free: 0 / 446.1 MB Notification: Performance of remove unused functions: time 0.003707/0.5008, allocations: 0.7838 MB / 0.573 GB, free: 15.21 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.008357/0.5092, allocations: 5.441 MB / 0.5783 GB, free: 9.727 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006747/0.516, allocations: 3.628 MB / 0.5819 GB, free: 6.035 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.516, allocations: 0 / 0.5819 GB, free: 6.035 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003615/0.5196, allocations: 2.374 MB / 0.5842 GB, free: 3.598 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/0.5226, allocations: 0.6146 MB / 0.5848 GB, free: 2.984 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2638/0.7863, allocations: 23.35 MB / 0.6076 GB, free: 111.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/0.7886, allocations: 2.179 MB / 0.6097 GB, free: 110.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001606/0.7902, allocations: 0.5112 MB / 0.6102 GB, free: 110.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.7914, allocations: 0.9113 MB / 0.6111 GB, free: 109.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7914, allocations: 5 kB / 0.6111 GB, free: 109.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/0.9372, allocations: 71.9 MB / 0.6813 GB, free: 48.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 28.42/29.36, allocations: 7.25 kB / 0.6813 GB, free: 48.91 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)