Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BLDC_BLDC.Examples.DemoEncoder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 103.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 208.9 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.01829/0.01829, allocations: 2.629 MB / 311.5 MB, free: 1.645 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BLDC.Examples.DemoEncoder,fileNamePrefix="BLDC_BLDC_Examples_DemoEncoder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BLDC.Examples.DemoEncoder,fileNamePrefix="BLDC_BLDC_Examples_DemoEncoder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BLDC requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BLDC requested package ModelicaServices of version 4.0.0. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BLDC requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002914/0.002914, allocations: 103.9 kB / 433 MB, free: 15.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.0979, allocations: 53.94 MB / 486.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoEncoder): time 0.006021/0.1039, allocations: 4.238 MB / 491.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.1074, allocations: 1.742 MB / 492.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005905/0.108, allocations: 35.75 kB / 493 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.1085, allocations: 138.5 kB / 493.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.1095, allocations: 274.2 kB / 493.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009402/0.1104, allocations: 483.2 kB / 493.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001826/0.1122, allocations: 1.325 MB / 495.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006864/0.1129, allocations: 436.7 kB / 495.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007128/0.1136, allocations: 0.5372 MB / 496.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006921/0.1143, allocations: 0.5796 MB / 496.7 MB, free: 8 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.1145, allocations: 120 kB / 496.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.1149, allocations: 179.9 kB / 497 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.1152, allocations: 362.8 kB / 497.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005859/0.1158, allocations: 0.5712 MB / 497.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.1175, allocations: 1.362 MB / 499.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1175, allocations: 0 / 499.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1175, allocations: 0 / 499.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.1175, allocations: 0 / 499.3 MB, free: 13.42 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.003619/0.1211, allocations: 1.699 MB / 0.4892 GB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.1212, allocations: 12.03 kB / 0.4893 GB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.1214, allocations: 156 kB / 0.4894 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.1224, allocations: 204 kB / 0.4896 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.1237, allocations: 0.8045 MB / 0.4904 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/0.1237, allocations: 74.38 kB / 0.4905 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.1239, allocations: 112.1 kB / 0.4906 GB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.1264, allocations: 1.316 MB / 0.4918 GB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.1264, allocations: 3.984 kB / 0.4918 GB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.1265, allocations: 59.94 kB / 0.4919 GB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.214e-05/0.1266, allocations: 46 kB / 0.4919 GB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.129, allocations: 1.05 MB / 0.493 GB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/0.1342, allocations: 3.336 MB / 0.4962 GB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.136, allocations: 0.7909 MB / 0.497 GB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.1371, allocations: 470.5 kB / 0.4975 GB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.1373, allocations: 174.8 kB / 0.4976 GB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/0.1392, allocations: 1.117 MB / 0.4987 GB, free: 1.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=108): time 2.765e-06/0.1392, allocations: 3.938 kB / 0.4987 GB, free: 1.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.007268/0.1464, allocations: 3.348 MB / 0.502 GB, free: 14.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002636/0.1467, allocations: 448.2 kB / 0.5024 GB, free: 13.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.1478, allocations: 0.8253 MB / 0.5032 GB, free: 12.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.1479, allocations: 77.67 kB / 0.5033 GB, free: 12.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004331/0.1484, allocations: 0.4934 MB / 0.5038 GB, free: 12.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.1487, allocations: 321.5 kB / 0.5041 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/0.149, allocations: 259.5 kB / 0.5043 GB, free: 11.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1492, allocations: 301.1 kB / 0.5046 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008039/0.15, allocations: 403.8 kB / 0.505 GB, free: 11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.1511, allocations: 0.8232 MB / 0.5058 GB, free: 10 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.1529, allocations: 1.2 MB / 0.507 GB, free: 8.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1529, allocations: 0 / 0.507 GB, free: 8.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.002474/0.1553, allocations: 1.423 MB / 0.5084 GB, free: 7.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.578e-05/0.1554, allocations: 96.22 kB / 0.5085 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.1554, allocations: 20.06 kB / 0.5085 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.602e-05/0.1555, allocations: 16.19 kB / 0.5085 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/0.1562, allocations: 199.6 kB / 0.5087 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-05/0.1562, allocations: 31.86 kB / 0.5087 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.157, allocations: 123.9 kB / 0.5088 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.212e-05/0.1571, allocations: 52 kB / 0.5089 GB, free: 6.637 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: 111 (encoderTimeAndCount.t2,$PRE.encoderTimeAndCount.t2,encoderTimeAndCount.t1,$PRE.encoderTimeAndCount.t1,encoderTimeAndCount.firstEdge,$PRE.encoderTimeAndCount.firstEdge,encoderTimeAndCount.count,$PRE.encoderTimeAndCount.count,encoderPulseCount.count,$PRE.encoderPulseCount.count,hallTimeSpan.t0,$PRE.hallTimeSpan.t0,hallTimeSpan.firstEdge,$PRE.hallTimeSpan.firstEdge,encoderPulseCount.firstTrigger,$PRE.encoderPulseCount.firstTrigger,encoderTimeSpan.firstEdge,$PRE.encoderTimeSpan.firstEdge,encoderTimeSpan.t0,$PRE.encoderTimeSpan.t0,encoderTimeAndCount.firstTrigger,$PRE.encoderTimeAndCount.firstTrigger,refFrequency.count,$PRE.refFrequency.count,refFrequency.T_start,$PRE.refFrequency.T_start,$whenCondition1,encoderTimeAndCount.w,$PRE.encoderTimeAndCount.w,encoderTimeSpan.w,$PRE.encoderTimeSpan.w,encoderPulseCount.w,$PRE.encoderPulseCount.w,hallTimeSpan.notC[5],$PRE.hallTimeSpan.notC[5],hallTimeSpan.notC[4],$PRE.hallTimeSpan.notC[4],hallTimeSpan.notC[3],$PRE.hallTimeSpan.notC[3],hallTimeSpan.notC[2],$PRE.hallTimeSpan.notC[2],hallTimeSpan.notC[1],$PRE.hallTimeSpan.notC[1],hallTimeSpan.uC[5],$PRE.hallTimeSpan.uC[5],hallTimeSpan.uC[4],$PRE.hallTimeSpan.uC[4],hallTimeSpan.uC[3],$PRE.hallTimeSpan.uC[3],hallTimeSpan.uC[2],$PRE.hallTimeSpan.uC[2],hallTimeSpan.uC[1],$PRE.hallTimeSpan.uC[1],encoderPulseCount.notB,$PRE.encoderPulseCount.notB,encoderPulseCount.notA,$PRE.encoderPulseCount.notA,encoderPulseCount.B,$PRE.encoderPulseCount.B,encoderPulseCount.A,$PRE.encoderPulseCount.A,encoderPulseCount.sampleTrigger,encoderTimeSpan.notB,$PRE.encoderTimeSpan.notB,encoderTimeSpan.notA,$PRE.encoderTimeSpan.notA,encoderTimeSpan.B,$PRE.encoderTimeSpan.B,encoderTimeSpan.A,$PRE.encoderTimeSpan.A,encoderTimeAndCount.notB,$PRE.encoderTimeAndCount.notB,encoderTimeAndCount.notA,$PRE.encoderTimeAndCount.notA,encoderTimeAndCount.B,$PRE.encoderTimeAndCount.B,encoderTimeAndCount.A,$PRE.encoderTimeAndCount.A,encoderTimeAndCount.sampleTrigger,incrementalEncoder.y[1],$whenCondition27,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition22,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,hallTimeSpan.w,$PRE.hallTimeSpan.w,unwrapAngle.integralController.local_reset,sinCosEvaluation.integralController.local_reset,f2pos.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007046/0.1578, allocations: 474.7 kB / 0.5093 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/0.158, allocations: 119.2 kB / 0.5094 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/0.1613, allocations: 1.523 MB / 0.5109 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.1613, allocations: 15.94 kB / 0.5109 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1613, allocations: 0 / 0.5109 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.1613, allocations: 3.984 kB / 0.511 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005082/0.1664, allocations: 2.705 MB / 0.5136 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1664, allocations: 0 / 0.5136 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.1669, allocations: 107.8 kB / 0.5137 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.1669, allocations: 7.984 kB / 0.5137 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.167, allocations: 43.94 kB / 0.5137 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.167, allocations: 4 kB / 0.5138 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.167, allocations: 4.094 kB / 0.5138 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1916/0.3586, allocations: 2.258 MB / 0.516 GB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.3592, allocations: 290.1 kB / 0.5162 GB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.3595, allocations: 60.59 kB / 0.5163 GB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008311/0.3603, allocations: 121 kB / 0.5164 GB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/0.3606, allocations: 145.4 kB / 0.5165 GB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.3608, allocations: 105.4 kB / 0.5166 GB, free: 38.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007137/0.3615, allocations: 0.5553 MB / 0.5172 GB, free: 38.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3615, allocations: 0 / 0.5172 GB, free: 38.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008981/0.3624, allocations: 256.6 kB / 0.5174 GB, free: 38.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 7 (speedSensor.flange.phi,sinCosEvaluation.integralController.y,encoderTimeAndCount.phi,encoderTimeSpan.phi,encoderPulseCount.phi,unwrapAngle.integralController.y,hallTimeSpan.phi) * Number of discrete variables: 69 (encoderPulseCount.sampleTrigger,encoderTimeAndCount.sampleTrigger,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition22,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition27,refFrequency.T_start,refFrequency.count,incrementalEncoder.y[1],encoderTimeAndCount.firstTrigger,encoderTimeAndCount.w,encoderTimeAndCount.A,encoderTimeAndCount.B,encoderTimeAndCount.notA,encoderTimeAndCount.notB,encoderTimeAndCount.count,encoderTimeAndCount.firstEdge,encoderTimeAndCount.t1,encoderTimeAndCount.t2,encoderTimeSpan.w,encoderTimeSpan.A,encoderTimeSpan.B,encoderTimeSpan.notA,encoderTimeSpan.notB,encoderTimeSpan.firstEdge,encoderTimeSpan.t0,encoderPulseCount.firstTrigger,encoderPulseCount.w,encoderPulseCount.A,encoderPulseCount.B,encoderPulseCount.notA,encoderPulseCount.notB,encoderPulseCount.count,hallTimeSpan.uC[1],hallTimeSpan.uC[2],hallTimeSpan.uC[3],hallTimeSpan.uC[4],hallTimeSpan.uC[5],hallTimeSpan.w,hallTimeSpan.notC[1],hallTimeSpan.notC[2],hallTimeSpan.notC[3],hallTimeSpan.notC[4],hallTimeSpan.notC[5],hallTimeSpan.firstEdge,hallTimeSpan.t0) * Number of discrete states: 44 (refFrequency.count,encoderTimeSpan.A,encoderTimeSpan.notA,encoderTimeSpan.B,encoderTimeSpan.notB,encoderTimeAndCount.w,$whenCondition27,encoderTimeAndCount.t2,encoderTimeAndCount.t1,encoderTimeAndCount.firstEdge,encoderTimeAndCount.count,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,encoderTimeAndCount.A,encoderTimeAndCount.notA,encoderTimeAndCount.B,encoderTimeAndCount.notB,encoderPulseCount.w,$whenCondition22,encoderPulseCount.count,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,encoderPulseCount.A,encoderPulseCount.notA,encoderPulseCount.B,encoderPulseCount.notB,hallTimeSpan.uC[1],hallTimeSpan.notC[1],hallTimeSpan.uC[2],hallTimeSpan.notC[2],hallTimeSpan.uC[3],hallTimeSpan.notC[3],hallTimeSpan.uC[4],hallTimeSpan.notC[4],hallTimeSpan.uC[5],hallTimeSpan.notC[5],hallTimeSpan.t0,hallTimeSpan.firstEdge,encoderTimeSpan.t0,encoderTimeSpan.firstEdge) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004541/0.3669, allocations: 2.911 MB / 0.5203 GB, free: 36.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.3694, allocations: 1.307 MB / 0.5216 GB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3694, allocations: 1.188 kB / 0.5216 GB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.3708, allocations: 0.726 MB / 0.5223 GB, free: 36.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008859/0.3716, allocations: 152.1 kB / 0.5224 GB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.3855, allocations: 9.748 MB / 0.5319 GB, free: 31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.3862, allocations: 1.104 MB / 0.533 GB, free: 30.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006221/0.3868, allocations: 220.1 kB / 0.5332 GB, free: 30.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/0.3873, allocations: 424 kB / 0.5336 GB, free: 29.94 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3873, allocations: 2.719 kB / 0.5336 GB, free: 29.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04726/0.4346, allocations: 22.44 MB / 0.5555 GB, free: 12.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.95, allocations: 0 / 0.5555 GB, free: 12.25 MB / 382.1 MB " [Timeout remaining time 649] (rm -f BLDC_BLDC.Examples.DemoEncoder.pipe ; mkfifo BLDC_BLDC.Examples.DemoEncoder.pipe ; head -c 1048576 < BLDC_BLDC.Examples.DemoEncoder.pipe >> ../files/BLDC_BLDC.Examples.DemoEncoder.sim & python3 -m fmpy simulate --output-file BLDC_BLDC.Examples.DemoEncoder_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 BLDC_BLDC_Examples_DemoEncoder.fmu > BLDC_BLDC.Examples.DemoEncoder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.209682492990396] Failed to read output from testmodel.py, exit status != 0: 11.032595616998151 11.044376647 10.924664352 Calling exit ...