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.001362/0.001362, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001665, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.1055/0.1055, allocations: 2.581 MB / 293 MB, free: 3.414 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 91.86 kB / 354.1 MB, free: 4.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08096/0.08274, allocations: 50.03 MB / 404.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDCVoltages): time 0.006763/0.08955, allocations: 5.657 MB / 409.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.09292, allocations: 1.932 MB / 411.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004505/0.09339, allocations: 35.81 kB / 411.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.09397, allocations: 258 kB / 412.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.09567, allocations: 0.7503 MB / 412.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.09617, allocations: 291.5 kB / 413.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00283/0.09901, allocations: 3.146 MB / 416.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/0.1014, allocations: 2.494 MB / 418.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.1029, allocations: 1.383 MB / 420.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.1046, allocations: 1.651 MB / 421.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004695/0.1051, allocations: 388 kB / 422.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007506/0.1059, allocations: 479.9 kB / 422.6 MB, free: 144 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1599/0.2657, allocations: 1.063 MB / 423.7 MB, free: 39.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005184/0.271, allocations: 1.693 MB / 425.4 MB, free: 39.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005571/0.2766, allocations: 4.965 MB / 430.3 MB, free: 39.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2766, allocations: 3.281 kB / 430.3 MB, free: 39.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2766, allocations: 0 / 430.3 MB, free: 39.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.534e-05/0.2767, allocations: 0 / 430.3 MB, free: 39.13 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.00773/0.2845, allocations: 3.614 MB / 434 MB, free: 37.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.2845, allocations: 10.38 kB / 434 MB, free: 37.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004479/0.285, allocations: 356.7 kB / 434.3 MB, free: 37.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005913/0.2856, allocations: 325.4 kB / 434.6 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.288, allocations: 1.855 MB / 436.5 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.29e-05/0.2881, allocations: 171.3 kB / 436.6 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.2884, allocations: 231.4 kB / 436.9 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004802/0.2932, allocations: 3.747 MB / 440.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.2933, allocations: 3.938 kB / 440.6 MB, free: 34.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/0.2935, allocations: 96.38 kB / 440.7 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.67e-05/0.2936, allocations: 124.5 kB / 440.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005019/0.2986, allocations: 3.577 MB / 444.4 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.3118, allocations: 11.58 MB / 456 MB, free: 27.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004307/0.3161, allocations: 2.899 MB / 458.9 MB, free: 26.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002399/0.3185, allocations: 1.655 MB / 460.6 MB, free: 25.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.3187, allocations: 107.6 kB / 460.7 MB, free: 25.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3188, allocations: 55.81 kB / 460.7 MB, free: 25.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=169): time 3.446e-06/0.3188, allocations: 0 / 460.7 MB, free: 25.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=169): time 0.0138/0.3326, allocations: 6.128 MB / 466.8 MB, free: 23.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.3326, allocations: 73.58 kB / 466.9 MB, free: 23.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003155/0.3358, allocations: 2.113 MB / 469 MB, free: 22.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002163/0.336, allocations: 52.23 kB / 469.1 MB, free: 22.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007895/0.3368, allocations: 1.07 MB / 470.1 MB, free: 21.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004556/0.3373, allocations: 0.5097 MB / 470.7 MB, free: 21.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000566/0.3379, allocations: 361.6 kB / 471 MB, free: 21.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.3379, allocations: 306.4 kB / 471.3 MB, free: 20.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.3397, allocations: 1.034 MB / 472.3 MB, free: 20.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.3417, allocations: 1.419 MB / 473.8 MB, free: 19.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003498/0.3452, allocations: 2.311 MB / 476.1 MB, free: 18.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.3453, allocations: 3.812 kB / 476.1 MB, free: 18.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005306/0.3506, allocations: 3.289 MB / 479.4 MB, free: 17.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.3506, allocations: 10.53 kB / 479.4 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.3507, allocations: 13.88 kB / 479.4 MB, free: 17.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/0.3532, allocations: 1.249 MB / 480.6 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/0.354, allocations: 212.3 kB / 480.8 MB, free: 16.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/0.3682, allocations: 17.11 MB / 498 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.3699, allocations: 245.8 kB / 498.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/0.3701, allocations: 71.94 kB / 498.3 MB, free: 1.812 MB / 350.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.001438/0.3716, allocations: 1.013 MB / 499.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/0.372, allocations: 221.5 kB / 499.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006134/0.3782, allocations: 3.386 MB / 0.4911 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.3782, allocations: 20 kB / 0.4911 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3782, allocations: 0 / 0.4911 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.3783, allocations: 11.91 kB / 0.4911 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.3897, allocations: 6.656 MB / 0.4976 GB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.3898, allocations: 7.984 kB / 0.4976 GB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.3904, allocations: 132.8 kB / 0.4978 GB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002602/0.3931, allocations: 1.21 MB / 0.4989 GB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.3933, allocations: 31.98 kB / 0.499 GB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01804/0.4113, allocations: 16.63 MB / 0.5152 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4114, allocations: 0 / 0.5152 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008264/0.4196, allocations: 4.779 MB / 0.5199 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.421, allocations: 0.5919 MB / 0.5205 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005655/0.4216, allocations: 24 kB / 0.5205 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.423, allocations: 123.8 kB / 0.5206 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007716/0.4238, allocations: 324.4 kB / 0.5209 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.4239, allocations: 47.98 kB / 0.521 GB, free: 13.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002747/0.4267, allocations: 1.457 MB / 0.5224 GB, free: 12.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4267, allocations: 0 / 0.5224 GB, free: 12.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003057/0.4297, allocations: 0.7755 MB / 0.5231 GB, free: 11.65 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.007974/0.4377, allocations: 5.448 MB / 0.5285 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00803/0.4458, allocations: 4.566 MB / 0.5329 GB, free: 1.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4458, allocations: 0 / 0.5329 GB, free: 1.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003687/0.4495, allocations: 2.375 MB / 0.5352 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.4522, allocations: 0.6163 MB / 0.5358 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04325/0.4955, allocations: 25.64 MB / 0.5609 GB, free: 3.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/0.4978, allocations: 2.171 MB / 0.563 GB, free: 1.199 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001449/0.4993, allocations: 0.5213 MB / 0.5635 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/0.5005, allocations: 0.9151 MB / 0.5644 GB, free: 15.77 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5005, allocations: 0 / 0.5644 GB, free: 15.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2558/0.7563, allocations: 70.75 MB / 0.6335 GB, free: 115 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.33, allocations: 8.953 kB / 0.6335 GB, free: 115 MB / 446.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)