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.001067/0.001067, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001006/0.001006, allocations: 217.2 kB / 22.25 MB, free: 3.711 MB / 13.93 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 0.9399/0.9399, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] 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.0125/0.0125, allocations: 2.634 MB / 315.1 MB, free: 15.28 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(BLDC.Examples.DemoEncoder,fileNamePrefix="BLDC_BLDC_Examples_DemoEncoder",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BLDC.Examples.DemoEncoder,fileNamePrefix="BLDC_BLDC_Examples_DemoEncoder",fmuType="me_cs",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.002112/0.002112, allocations: 120.8 kB / 439.7 MB, free: 45.36 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07912/0.08123, allocations: 53.99 MB / 493.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoEncoder): time 0.003762/0.08499, allocations: 3.845 MB / 497.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.0869, allocations: 1.703 MB / 499.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.08717, allocations: 31.75 kB / 499.3 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.08745, allocations: 138.6 kB / 499.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006214/0.08807, allocations: 294.1 kB / 499.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.08854, allocations: 479.2 kB / 0.4884 GB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.08959, allocations: 1.321 MB / 0.4897 GB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.09002, allocations: 369.2 kB / 0.4901 GB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003783/0.0904, allocations: 0.5295 MB / 0.4906 GB, free: 15.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.09087, allocations: 0.5444 MB / 0.4911 GB, free: 14.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.09102, allocations: 112 kB / 0.4912 GB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.09129, allocations: 179.9 kB / 0.4914 GB, free: 14.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.09155, allocations: 358.9 kB / 0.4917 GB, free: 14.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.09184, allocations: 481.5 kB / 0.4922 GB, free: 13.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009732/0.09281, allocations: 1.385 MB / 0.4936 GB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.09282, allocations: 0 / 0.4936 GB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.09282, allocations: 0 / 0.4936 GB, free: 12.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.09283, allocations: 0 / 0.4936 GB, free: 12.24 MB / 362.7 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.001743/0.09457, allocations: 1.624 MB / 0.4951 GB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.09461, allocations: 12.03 kB / 0.4952 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.09473, allocations: 144.1 kB / 0.4953 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005162/0.09525, allocations: 204 kB / 0.4955 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.09603, allocations: 0.7401 MB / 0.4962 GB, free: 9.426 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.09608, allocations: 78.36 kB / 0.4963 GB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.09618, allocations: 108.1 kB / 0.4964 GB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.09782, allocations: 1.57 MB / 0.4979 GB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.09784, allocations: 7.938 kB / 0.4979 GB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.09791, allocations: 63.92 kB / 0.498 GB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/0.09796, allocations: 46 kB / 0.498 GB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.09932, allocations: 1.158 MB / 0.4992 GB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.1021, allocations: 3.013 MB / 0.5021 GB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1031, allocations: 0.854 MB / 0.5029 GB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/0.1037, allocations: 0.5175 MB / 0.5034 GB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.766e-05/0.1038, allocations: 24.58 kB / 0.5035 GB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/0.1051, allocations: 1.388 MB / 0.5048 GB, free: 236 kB / 362.7 MB Notification: Performance of pre-optimization done (n=108): time 1.854e-06/0.1051, allocations: 0 / 0.5048 GB, free: 236 kB / 362.7 MB Notification: Performance of matching and sorting (n=109): time 0.003896/0.109, allocations: 3.451 MB / 0.5082 GB, free: 12.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.1091, allocations: 452.2 kB / 0.5086 GB, free: 12.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.1097, allocations: 0.8329 MB / 0.5094 GB, free: 11.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/0.1098, allocations: 81.67 kB / 0.5095 GB, free: 11.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.11, allocations: 493.3 kB / 0.51 GB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.1102, allocations: 321.5 kB / 0.5103 GB, free: 10.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.1104, allocations: 255.6 kB / 0.5105 GB, free: 10.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1106, allocations: 305.1 kB / 0.5108 GB, free: 9.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.1111, allocations: 492.9 kB / 0.5113 GB, free: 9.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/0.1118, allocations: 1.115 MB / 0.5124 GB, free: 8.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.1128, allocations: 1.212 MB / 0.5136 GB, free: 6.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1128, allocations: 4 kB / 0.5136 GB, free: 6.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.001405/0.1142, allocations: 1.533 MB / 0.5151 GB, free: 5.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.1143, allocations: 105.1 kB / 0.5152 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1143, allocations: 12 kB / 0.5152 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.1143, allocations: 16 kB / 0.5152 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.1147, allocations: 200.2 kB / 0.5154 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.1147, allocations: 27.92 kB / 0.5154 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.1151, allocations: 119.9 kB / 0.5155 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/0.1151, allocations: 56 kB / 0.5156 GB, free: 4.492 MB / 378.7 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.0003756/0.1155, allocations: 482.8 kB / 0.516 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.1156, allocations: 119.2 kB / 0.5162 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.1175, allocations: 1.616 MB / 0.5177 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1175, allocations: 8 kB / 0.5177 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1175, allocations: 4 kB / 0.5177 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1175, allocations: 7.984 kB / 0.5178 GB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.1203, allocations: 2.621 MB / 0.5203 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1203, allocations: 0 / 0.5203 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.1205, allocations: 99.8 kB / 0.5204 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1205, allocations: 4 kB / 0.5204 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/0.1206, allocations: 47.94 kB / 0.5205 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.1206, allocations: 4 kB / 0.5205 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1206, allocations: 4.031 kB / 0.5205 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.1231, allocations: 2.436 MB / 0.5228 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.1234, allocations: 215.1 kB / 0.523 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.1235, allocations: 59.98 kB / 0.5231 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.1239, allocations: 123.8 kB / 0.5232 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.1241, allocations: 148.6 kB / 0.5234 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.1242, allocations: 107.8 kB / 0.5235 GB, free: 12.22 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004263/0.1246, allocations: 0.5419 MB / 0.524 GB, free: 11.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1246, allocations: 4 kB / 0.524 GB, free: 11.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006403/0.1253, allocations: 263.9 kB / 0.5243 GB, free: 11.42 MB / 394.7 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.002838/0.1281, allocations: 3.092 MB / 0.5273 GB, free: 8.266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.1295, allocations: 1.457 MB / 0.5287 GB, free: 6.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1295, allocations: 1.5 kB / 0.5287 GB, free: 6.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.1303, allocations: 0.8004 MB / 0.5295 GB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.1308, allocations: 157.3 kB / 0.5296 GB, free: 5.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/0.1398, allocations: 10.18 MB / 0.5396 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1402, allocations: 0.5051 MB / 0.5401 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003226/0.1405, allocations: 220.4 kB / 0.5403 GB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/0.1408, allocations: 431.3 kB / 0.5407 GB, free: 9.859 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1408, allocations: 0 / 0.5407 GB, free: 9.859 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2307/0.3715, allocations: 24.03 MB / 0.5642 GB, free: 63.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/7.933, allocations: 12.98 kB / 0.5642 GB, free: 63.45 MB / 410.7 MB " [Timeout remaining time 652] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_BLDC_BLDC_Examples_DemoEncoder_fmu --startTime=0 --stopTime=3 --stepSize=1e-05 --mode=me --timeout=240 --tolerance=1e-06 ../BLDC_BLDC_Examples_DemoEncoder.fmu) > BLDC_BLDC.Examples.DemoEncoder.pipe 2>&1) [Timeout 252.0] (rm -f BLDC_BLDC.Examples.DemoEncoder_OMSimulator-cs-cvode.pipe ; mkfifo BLDC_BLDC.Examples.DemoEncoder_OMSimulator-cs-cvode.pipe ; head -c 1048576 < BLDC_BLDC.Examples.DemoEncoder_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/BLDC_BLDC.Examples.DemoEncoder_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_BLDC_BLDC_Examples_DemoEncoder_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=3 --stepSize=1e-05 --mode=cs --timeout=240 --tolerance=1e-06 ../BLDC_BLDC_Examples_DemoEncoder_OMSimulator-cs-cvode.fmu) > BLDC_BLDC.Examples.DemoEncoder_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f BLDC_BLDC.Examples.DemoEncoder_OMSimulator-cs-euler.pipe ; mkfifo BLDC_BLDC.Examples.DemoEncoder_OMSimulator-cs-euler.pipe ; head -c 1048576 < BLDC_BLDC.Examples.DemoEncoder_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/BLDC_BLDC.Examples.DemoEncoder_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_BLDC_BLDC_Examples_DemoEncoder_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=3 --stepSize=1e-05 --mode=cs --timeout=240 --tolerance=1e-06 ../BLDC_BLDC_Examples_DemoEncoder_OMSimulator-cs-euler.fmu) > BLDC_BLDC.Examples.DemoEncoder_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f BLDC_BLDC.Examples.DemoEncoder_fmpy.pipe ; mkfifo BLDC_BLDC.Examples.DemoEncoder_fmpy.pipe ; head -c 1048576 < BLDC_BLDC.Examples.DemoEncoder_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/BLDC_BLDC.Examples.DemoEncoder_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../BLDC_BLDC.Examples.DemoEncoder_fmpy_res.csv --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 ../BLDC_BLDC_Examples_DemoEncoder.fmu) > BLDC_BLDC.Examples.DemoEncoder_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 18.08036008477211]