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.00139/0.00139, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002092/0.002092, allocations: 209.4 kB / 22.25 MB, free: 5.125 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.988 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.02359/0.02359, allocations: 2.634 MB / 315.1 MB, free: 496 kB / 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.003004/0.003004, allocations: 107.8 kB / 438.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1065, allocations: 53.99 MB / 492.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoEncoder): time 0.006155/0.1127, allocations: 4.258 MB / 496.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004065/0.1168, allocations: 1.765 MB / 498.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008418/0.1176, allocations: 31.75 kB / 498.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004382/0.118, allocations: 134.6 kB / 498.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.1191, allocations: 298 kB / 498.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.1202, allocations: 479.3 kB / 499.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002004/0.1222, allocations: 1.329 MB / 0.4887 GB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/0.1229, allocations: 389.2 kB / 0.4891 GB, free: 15.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007555/0.1236, allocations: 0.5373 MB / 0.4896 GB, free: 14.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007263/0.1244, allocations: 0.5835 MB / 0.4902 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.1245, allocations: 112 kB / 0.4903 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.1249, allocations: 183.9 kB / 0.4905 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.1253, allocations: 366.9 kB / 0.4908 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005949/0.1258, allocations: 0.5789 MB / 0.4914 GB, free: 13.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.1276, allocations: 1.373 MB / 0.4927 GB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1276, allocations: 4 kB / 0.4927 GB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.29e-06/0.1276, allocations: 3.984 kB / 0.4927 GB, free: 11.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.1276, allocations: 0 / 0.4927 GB, free: 11.75 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.00324/0.1309, allocations: 1.616 MB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1309, allocations: 15.97 kB / 0.4943 GB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.1311, allocations: 148.1 kB / 0.4945 GB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009356/0.132, allocations: 204 kB / 0.4947 GB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.1333, allocations: 0.7401 MB / 0.4954 GB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.1334, allocations: 74.38 kB / 0.4955 GB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.1336, allocations: 112.1 kB / 0.4956 GB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.1359, allocations: 1.308 MB / 0.4968 GB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.1359, allocations: 3.938 kB / 0.4968 GB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.136, allocations: 59.94 kB / 0.4969 GB, free: 7.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.832e-05/0.1361, allocations: 46 kB / 0.4969 GB, free: 7.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.1383, allocations: 1.042 MB / 0.498 GB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00506/0.1433, allocations: 3.282 MB / 0.5012 GB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.1451, allocations: 0.7985 MB / 0.5019 GB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.1461, allocations: 470.5 kB / 0.5024 GB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.1462, allocations: 20.62 kB / 0.5024 GB, free: 1.598 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00186/0.1481, allocations: 1.121 MB / 0.5035 GB, free: 420 kB / 366.1 MB Notification: Performance of pre-optimization done (n=108): time 2.224e-06/0.1481, allocations: 4 kB / 0.5035 GB, free: 416 kB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.2178/0.3659, allocations: 3.261 MB / 0.5067 GB, free: 23.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.366, allocations: 447.1 kB / 0.5071 GB, free: 23.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.3672, allocations: 0.8243 MB / 0.5079 GB, free: 22.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.3673, allocations: 79.86 kB / 0.508 GB, free: 22.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.3676, allocations: 496.3 kB / 0.5085 GB, free: 22.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.3679, allocations: 317.8 kB / 0.5088 GB, free: 22.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.3682, allocations: 261.3 kB / 0.509 GB, free: 21.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.3682, allocations: 305.9 kB / 0.5093 GB, free: 21.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007538/0.369, allocations: 407.8 kB / 0.5097 GB, free: 21.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009649/0.37, allocations: 0.8264 MB / 0.5105 GB, free: 20.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.3714, allocations: 1.203 MB / 0.5117 GB, free: 19.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.3714, allocations: 3.562 kB / 0.5117 GB, free: 19.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.002322/0.3738, allocations: 1.427 MB / 0.5131 GB, free: 19.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/0.3738, allocations: 100.6 kB / 0.5132 GB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.3739, allocations: 13.14 kB / 0.5132 GB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-05/0.3739, allocations: 18.16 kB / 0.5132 GB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/0.3746, allocations: 197 kB / 0.5134 GB, free: 19.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.013e-05/0.3746, allocations: 24.39 kB / 0.5134 GB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/0.3754, allocations: 122 kB / 0.5135 GB, free: 19.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.3755, allocations: 58.12 kB / 0.5136 GB, free: 19.21 MB / 366.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.0006461/0.3761, allocations: 473.6 kB / 0.5141 GB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/0.3764, allocations: 124.9 kB / 0.5142 GB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/0.3794, allocations: 1.524 MB / 0.5157 GB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.3794, allocations: 9.438 kB / 0.5157 GB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3794, allocations: 0 / 0.5157 GB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.3794, allocations: 6.719 kB / 0.5157 GB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004751/0.3842, allocations: 2.675 MB / 0.5183 GB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3842, allocations: 0 / 0.5183 GB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.3847, allocations: 103.5 kB / 0.5184 GB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.3847, allocations: 8.75 kB / 0.5184 GB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.3848, allocations: 47.53 kB / 0.5184 GB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.904e-06/0.3848, allocations: 7.625 kB / 0.5184 GB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3848, allocations: 5.25 kB / 0.5185 GB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004192/0.389, allocations: 2.26 MB / 0.5207 GB, free: 16.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/0.3896, allocations: 212.2 kB / 0.5209 GB, free: 16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.3899, allocations: 61.59 kB / 0.5209 GB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007746/0.3906, allocations: 115.8 kB / 0.521 GB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/0.3909, allocations: 152.3 kB / 0.5212 GB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/0.3911, allocations: 103.5 kB / 0.5213 GB, free: 15.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007498/0.3919, allocations: 0.5499 MB / 0.5218 GB, free: 15.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3919, allocations: 0 / 0.5218 GB, free: 15.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001135/0.393, allocations: 260 kB / 0.5221 GB, free: 15.66 MB / 366.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.004191/0.3972, allocations: 2.918 MB / 0.5249 GB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.3995, allocations: 1.304 MB / 0.5262 GB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.3995, allocations: 5.469 kB / 0.5262 GB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.4007, allocations: 0.7292 MB / 0.5269 GB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009318/0.4016, allocations: 145.2 kB / 0.527 GB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.4133, allocations: 9.75 MB / 0.5366 GB, free: 4.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.4138, allocations: 1.104 MB / 0.5376 GB, free: 3.051 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005082/0.4143, allocations: 214.5 kB / 0.5378 GB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.4147, allocations: 427.3 kB / 0.5382 GB, free: 2.422 MB / 366.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4147, allocations: 3.938 kB / 0.5383 GB, free: 2.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06443/0.4792, allocations: 23.39 MB / 0.5611 GB, free: 11.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.72, allocations: 7.688 kB / 0.5611 GB, free: 11.24 MB / 398.1 MB " [Timeout remaining time 646] (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: 29.77203159900091] Failed to read output from testmodel.py, exit status != 0: 13.840011142001458 13.862989851 13.732238631 Calling exit ...