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.001251/0.001251, allocations: 78.73 kB / 19.01 MB, free: 2.859 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.001406/0.001406, allocations: 160.3 kB / 22.26 MB, free: 5.105 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.397/1.397, allocations: 177.2 MB / 202.6 MB, free: 9.273 MB / 190.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.01837/0.01837, allocations: 1.991 MB / 261 MB, free: 14.84 MB / 254.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.003163/0.003163, allocations: 108.3 kB / 384 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09355, allocations: 53.97 MB / 438 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoEncoder): time 0.00565/0.0992, allocations: 3.852 MB / 441.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003503/0.1027, allocations: 1.695 MB / 443.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005542/0.1033, allocations: 31.75 kB / 443.6 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.1037, allocations: 142.5 kB / 443.7 MB, free: 6.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.1048, allocations: 290.1 kB / 444 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009567/0.1057, allocations: 479.2 kB / 444.5 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.1075, allocations: 1.329 MB / 445.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000617/0.1082, allocations: 373.5 kB / 446.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009472/0.1091, allocations: 0.7635 MB / 446.9 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006942/0.1098, allocations: 0.5366 MB / 447.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.11, allocations: 112 kB / 447.6 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.1103, allocations: 179.9 kB / 447.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.1106, allocations: 370.8 kB / 448.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000501/0.1111, allocations: 481.5 kB / 448.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.1126, allocations: 1.377 MB / 450 MB, free: 204 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1127, allocations: 0 / 450 MB, free: 204 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1127, allocations: 7.938 kB / 450 MB, free: 196 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.1127, allocations: 0 / 450 MB, free: 196 kB / 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.1698/0.2825, allocations: 1.616 MB / 451.6 MB, free: 21.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2825, allocations: 9.406 kB / 451.6 MB, free: 21.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.2827, allocations: 152.5 kB / 451.8 MB, free: 21.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009512/0.2837, allocations: 201.6 kB / 452 MB, free: 21.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.2849, allocations: 0.7389 MB / 452.7 MB, free: 21.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.2849, allocations: 78.47 kB / 452.8 MB, free: 21.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.2851, allocations: 108.5 kB / 452.9 MB, free: 21.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.2874, allocations: 1.57 MB / 454.4 MB, free: 20.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.2875, allocations: 10.31 kB / 454.5 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.2876, allocations: 61.45 kB / 454.5 MB, free: 20.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.435e-05/0.2876, allocations: 47.08 kB / 454.6 MB, free: 20.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.29, allocations: 1.151 MB / 455.7 MB, free: 20 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004601/0.2946, allocations: 3.01 MB / 458.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.2962, allocations: 0.8569 MB / 459.6 MB, free: 17.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.2972, allocations: 0.5164 MB / 460.1 MB, free: 17.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.2973, allocations: 22.53 kB / 460.1 MB, free: 17.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/0.2991, allocations: 1.387 MB / 461.5 MB, free: 16.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=108): time 3.106e-06/0.2991, allocations: 0 / 461.5 MB, free: 16.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.006768/0.3058, allocations: 3.453 MB / 465 MB, free: 15.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.306, allocations: 449.7 kB / 465.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.307, allocations: 0.8331 MB / 466.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.3071, allocations: 79.3 kB / 466.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.3074, allocations: 498.9 kB / 466.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.3076, allocations: 315.7 kB / 467.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00033/0.308, allocations: 260.3 kB / 467.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.363e-05/0.308, allocations: 307 kB / 467.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008393/0.3088, allocations: 492.3 kB / 468.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.3099, allocations: 1.115 MB / 469.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.3115, allocations: 1.208 MB / 470.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.3115, allocations: 4 kB / 470.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.002456/0.314, allocations: 1.527 MB / 472 MB, free: 10.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.3141, allocations: 100.3 kB / 472.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.3141, allocations: 14.94 kB / 472.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.827e-05/0.3141, allocations: 23.36 kB / 472.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.3148, allocations: 200.9 kB / 472.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.888e-05/0.3148, allocations: 28.44 kB / 472.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/0.3157, allocations: 122 kB / 472.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.648e-05/0.3157, allocations: 59.11 kB / 472.5 MB, free: 10.27 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.0006497/0.3164, allocations: 480.1 kB / 473 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.3166, allocations: 116.9 kB / 473.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/0.3196, allocations: 1.623 MB / 474.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.3196, allocations: 14.12 kB / 474.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3196, allocations: 0 / 474.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3196, allocations: 4.719 kB / 474.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/0.3241, allocations: 2.612 MB / 477.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3241, allocations: 0 / 477.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.3246, allocations: 109.8 kB / 477.5 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.3246, allocations: 4.25 kB / 477.5 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.581e-05/0.3247, allocations: 43.81 kB / 477.5 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.3247, allocations: 3.156 kB / 477.5 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3247, allocations: 5.5 kB / 477.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/0.3287, allocations: 2.448 MB / 480 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005269/0.3292, allocations: 212.4 kB / 480.2 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.3294, allocations: 60.98 kB / 480.2 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/0.3302, allocations: 122.8 kB / 480.4 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.3305, allocations: 140.9 kB / 480.5 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/0.3306, allocations: 107.6 kB / 480.6 MB, free: 5.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006349/0.3313, allocations: 0.5466 MB / 481.1 MB, free: 5.613 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3313, allocations: 1.031 kB / 481.1 MB, free: 5.613 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009313/0.3322, allocations: 261.3 kB / 481.4 MB, free: 5.574 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.004079/0.3363, allocations: 3.095 MB / 484.5 MB, free: 3.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002151/0.3384, allocations: 1.458 MB / 486 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.3384, allocations: 0 / 486 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.3395, allocations: 0.8093 MB / 486.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008245/0.3404, allocations: 143.1 kB / 486.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/0.3551, allocations: 10.18 MB / 497.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.3557, allocations: 0.509 MB / 497.6 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006031/0.3563, allocations: 220.4 kB / 497.8 MB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/0.3569, allocations: 424.3 kB / 498.2 MB, free: 5.422 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3569, allocations: 0 / 498.2 MB, free: 5.422 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05995/0.4169, allocations: 24.1 MB / 0.5101 GB, free: 13.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.48, allocations: 4 kB / 0.5101 GB, free: 13.55 MB / 414.1 MB " [Timeout remaining time 647] (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: 28.81772874109447] Failed to read output from testmodel.py, exit status != 0: 12.604515347164124 12.632612149 12.514891033 Calling exit ...